By Santiago on March 27, 2009
Displaying related posts is a very great way to help visitors staying longer on your blog. You can use a plugin, but you also can use tags and a custom code to show related posts. Let’s see how to do!
Posted in Tips & Tricks | Tagged How To, Plugin, Post, The Loop |
By Santiago on March 16, 2009
If the user of your theme wants to style a single post differently than all of the others, the only way for you to make this easy for them is by giving each post a unique identifier. To do this, simple make use of “the_ID” in The Loop.
Posted in Tips & Tricks | Tagged How To, Posts, Styling, The Loop |
By Santiago on March 15, 2009
If, for whatever reason, you don’t want certain categories to be displayed, paste this code into The Loop. Note – Replace “6″ with the number corresponding to the category you want to block. <?php if ( have_posts() ) : query_posts($query_string .’&cat=-6′); while ( have_posts() ) : the_post(); ?>
Posted in Tips & Tricks | Tagged Category, How To, The Loop |
How to Add a Unique Identifier to Each Comment
By Santiago on March 14, 2009
Easy, trick is by giving each comment a unique identifier. To do this, simple make use of “the_ID” in The Loop.
Posted in Tips & Tricks | Tagged Comments, How To, The Loop | Leave a response