I have two posts categories in my site, news and jobs.
On my side bar, I want to display the following navigation:
I’ve been using the following:
<li><a href="">NEWSROOM</a> <ul> <?php wp_get_archives('type=yearly'); ?> </ul> </li>
This works, but when I click on the link to the 2008 archives, the jobs posts also appear. Is there a way to get_archives from only one category?
- The topic ‘Exclude category from archives navigation’ is closed to new replies.