Return to Snippet

Revision: 25073
at March 19, 2010 05:15 by gd6d


Initial Code
<?php
query_posts(array("post__not_in" =>get_option("sticky_posts")));
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>

Initial URL
http://www.wpbeginner.com/wp-themes/how-to-exclude-sticky-posts-from-the-loop-in-wordpress/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+wpbeginner+%28Wordpress+for+Beginners%29

Initial Description

                                

Initial Title
Completely exclude Sticky posts from the Loop

Initial Tags
wordpress

Initial Language
PHP