I'm working on a website where I've set has_archive to 'true' on a custom post type and now when I call the wp_get_archives in my template code for just the regular blog posts, it's pulling the archive numbers for the custom post type as well. Is there any way to eliminate the archive posts from the custom post types when using wp_get_archives for the regular blog post pages?
Below is what I'm using to show the archives on the blog sidebar
<select name="archive-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;">
<option value=""><?php echo esc_attr( __( 'Select Month' ) ); ?></option>
<?php wp_get_archives( 'type=monthly&format=option&show_post_count=1' ); ?>
</select>