how to exclude a category in show_post_count
-
<option value=””><?php echo esc_attr( __( ‘Select Month’ ) ); ?></option>
<?php wp_get_archives( array( ‘type’ => ‘monthly’, ‘format’ => ‘option’, ‘show_post_count’ => 1) ); ?>above is my current dropbox (option) code, but show_post_count counts all categories post number, i want to exclude one category in post count, what should i change the code please? thank you
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘how to exclude a category in show_post_count’ is closed to new replies.