exclluding category from recent posts
-
hi,
MY theme uses the following code to display recent posts on my home page …
<?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
i want to exclude a particular category posts from recent posts .. i mean i dont want to show posts of category id ‘5’ in the recnt posts..
how to do this..pls help me
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘exclluding category from recent posts’ is closed to new replies.