How to Exclude Sticky Posts from the Loop

Stick Posts are great for highlighting your featured content, but there are certain places in your site where you don’t need a sticky post. WordPress cannot guess a certain area or page where you don’t want a stick post, so in this article, you’ll be taught how to take away the sticky feature of the post.

To take away the sticky ability of the post, you need to change the loop so that WordPress will ignore that a post is sticky and shows it in normal order. Using such code, the sticky post will appear in the loop but not be placed on top.

Read the rest of the tutorial here: http://www.wpbeginner.com/wp-themes/how-to-exclude-sticky-posts-from-the-loop-in-wordpress/

How to Exclude Sticky Posts from the Loop

Stick Posts are great for highlighting your featured content, but there are certain places in your site where you don’t need a sticky post. WordPress cannot guess a certain area or page where you don’t want a stick post, so in this article, you’ll be taught how to take away the sticky feature of the post.

To take away the sticky ability of the post, you need to change the loop so that WordPress will ignore that a post is sticky and shows it in normal order. Using such code, the sticky post will appear in the loop but not be placed on top.

Read the rest of the tutorial here: http://www.wpbeginner.com/wp-themes/how-to-exclude-sticky-posts-from-the-loop-in-wordpress/

Web Hosting

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

*