Advertisement
  1. Code
  2. WordPress
Code

Quick Tip: How to Target WordPress Sticky Posts

by
Languages:

As of WordPress 2.7, we can now assign "sticky posts." This feature affords us the ability to "pin" postings to the top of our blog. But, how can we specifically target these sorts of postings from within our stylesheet?

Notice the pretty ribbon that's attached to this particular posting? That's thanks to stickied posts!

Adjust the resolution to 720 for maximum clarity.

Subscribe to our YouTube page to watch all of the video tutorials!

Advertisement
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.