exclude single category from monthly archives
-
Can someone please advise what additional code I’ll require to exclude category 20 & sub-cats from my monthly archives?
This is the code in my sidebar template:
<?php if (!is_page("archives")) { ?>
<p class=”subheading”>archives
<ul>
<?php get_archives('monthly','','','<li>','</li>',''); ?>
</ul>
<?php } ?>
This is the php code in the BX_Function (Blix)
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
When I click on November 2005 in the archives, I don’t want the posts in category 20 or its sub-cats to be visible in the archives only.
Thanks guys & gals, I really appreciate your help
Kate
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘exclude single category from monthly archives’ is closed to new replies.