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;
Use this if you want to include only specific categories for wp_get_archive function in your functions.php of your theme directory
There are different ways to work with category archives: WordPress › Support » Limit archives to category / date archives for category
I use Clean Archives Reloaded WordPress › Clean Archives Reloaded « WordPress Plugins and exclude categories around line 200:
You can write a filter in your functions.php file which will change wp_get_archive function's default behavior.