Posted By

gd6d on 10/28/09


Tagged

wordpress sticky posts


Versions (?)

Definitive Sticky Posts Guide for WordPress 2.7


 / Published in: PHP
 

URL: http://www.nathanrice.net/blog/definitive-sticky-posts-guide-for-wordpress-27/

  1. A Custom Loop to Return All Sticky
  2. Postsquery_posts(array('post__in'=>get_option('sticky_posts')));
  3.  
  4.  
  5.  
  6. A Custom Loop to Ignore Sticky Posts
  7. query_posts('caller_get_posts=1');

Report this snippet  

You need to login to post a comment.