6 Cool Things You Can Do With Sticky Posts in WordPress

Published: 15 June 2015
on channel: WPBeginner - WordPress Tutorials
8,361
29

Did you know that WordPress allows you to feature your posts by using sticky posts feature. There are a few things you can do to these posts. In this video, we will show you 6 cool things you with sticky posts.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/beginners-g...

Check us out on Facebook:
  / wpbeginner  

Follow us on Twitter:
  / wpbeginner  

Join our circle on Google+:
https://plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

If you're using the sticky post feature to highlight a coupon or event, then you can use the expire sticky post to set an expiration date for the sticky post so you don't have to remember to go in and do it yourself.

By default sticky posts only appear on the front page of your site.

But if you want to display featured content on your category archive pages, then you can install and activate the category sticky post plugin and select the sticky post category.

If you want to showcase say your latest 5 sticky posts on a particular page, then add the code to your functions.php page and then create a page with this shortcode and your latest sticky posts will be prominently displayed.

By default sticky posts are only for WordPress posts, but you can install and activate the sticky custom post types plugin to allow sticky posts on custom post types.

Add the code to keep your sticky posts from being shown in the WordPress loop.

Many themes use the post_class function to automatically add post classes for each post.

If you theme doesn't do that, then you can add the post_class function into your container and add some css like this. and this is an example of how that will look.

Related Links:

Expire Sticky Posts

http://www.wpbeginner.com/plugins/how...

Category Sticky Post

http://www.wpbeginner.com/plugins/how...

Display Latest Sticky Posts

http://www.wpbeginner.com/wp-tutorial...

Sticky Posts in Custom Post Types

http://www.wpbeginner.com/wp-tutorial...

Exclude Sticky posts from WordPress loop

http://www.wpbeginner.com/wp-themes/h...


Watch video 6 Cool Things You Can Do With Sticky Posts in WordPress online without registration, duration hours minute second in high quality. This video was added by user WPBeginner - WordPress Tutorials 15 June 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,361 once and liked it 29 people.