Definitive Sticky Posts Guide for WordPress 2.7


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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');

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.