Exclude Category From wp_get_archives?

Posted by Norbert on Stack Overflow See other posts from Stack Overflow or by Norbert
Published on 2010-05-07T14:19:52Z Indexed on 2010/05/07 14:28 UTC
Read the original article Hit count: 476

Filed under:
|
|
|

Is there any way to exclude a category from wp_get_archives? I'm trying to show the months in the sidebar, but I want to exclude the posts that are not blog entries.

$catID = get_cat_id('Projects');
$variable = wp_get_archives('type=monthly&show_post_count=1);
echo $variable;

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about archives