Skip to content
Wizard Computers
  • Home
Site Search
photo-1453282716202-de94e528067c News

Template: Sticky

  • 7th January 2016
  • by wizcomp

This is a sticky post.

There are a few things to verify:

  • The sticky post should be distinctly recognizable in some way in comparison to normal posts. You can style the .sticky class if you are using the post_class() function to generate your post classes, which is a best practice.
  • They should show at the very top of the blog index page, even though they could be several posts back chronologically.
  • They should still show up again in their chronologically correct postion in time, but without the sticky indicator.
  • If you have a plugin or widget that lists popular posts or comments, make sure that this sticky post is not always at the top of those lists unless it really is popular.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Google+ (Opens in new window)

Related

Markup: Title With Special Characters
Markup: Text Alignment
wizcomp

rob@wizardcomputers.co.uk
sticky template

Related articles

photo-1440557653082-e8e186733eeb
Template: More Tag
photo-1449168013943-3a15804bb41c
Hello world!
photo-1430329429612-babb42f88673
Template: Featured Image (Vertical)
photo-1433878455169-4698e60005b1
Template: Featured Image (Horizontal)
photo-1431492299426-2ea1ce429cc0
Template: Excerpt (Defined)
Template: Excerpt (Generated)
2
This is a standard post…
Template: Paginated
Protected: Template: Password Protected (the…
Template: Comments

Recent Posts

  • Scheduled
  • Template: More Tag
  • Hello world!
  • Markup: HTML Tags and Formatting
  • Markup: Image Alignment

Recent Comments

  • Anonymous on Hello world!
  • Mr WordPress on Hello world!
  • Jane Doe on Protected: Template: Password Protected (the password is “enter”)
  • Jane Doe on Template: Comments
  • John Doe on Template: Comments

Archives

  • January 2020
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • May 2015
  • March 2015
  • March 2012
  • January 2012
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • October 2010
  • September 2010
  • August 2010
  • June 2010
  • May 2010
  • March 2010
  • February 2010
  • January 2010
  • October 2009
  • September 2009
  • March 2009

Categories

  • Edge Case
  • Frontpage Article
  • Images
  • Markup
  • Media
  • News
  • Post Formats
  • Template
  • Uncategorised
  • Uncategorized
  • Unpublished

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Theme by Colorlib Powered by WordPress