Removing Categories with query_posts
-
I need to remove a category from my main posts page and I used query posts:
<?php if ( is_home() ) { query_posts( 'cat=-6' ); } ?>
Since there are some posts in that category that I want to include, I added another category and assigned those posts to the secondary category. However, the posts still didn’t show. Is there something else i need to do to query_posts to include those posts? Is there a better way to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Removing Categories with query_posts’ is closed to new replies.