I have a category whose posts I would like to be only accessible by browsing the category itself.
In order to do this, I've excluded it from the home page and the archive pages using this code:
<?php if ( is_home() OR is_date() ) {
query_posts("cat=-12");
} ?>
Unfortunately, this breaks my monthly archive pages such that looking at August, for example, doesn't show JUST August, it shows all posts (it acts like the home page).
What can I do to fix this?
Thank you!