• I’m using the following code in my sidebar

    <?php if( is_page( 'Magazine' ) ) :?>
    	<li id="archives" class="widget-container">
    		<h3 class="widget-title">Magazine Archives</h3>
    		<ul>
    			<?php wp_get_archives('cat=42'); ?>
    		</ul>
    	</li>
    <?php endif;?>

    which displays the monthly archive, but it’s not display the category with ID 42.

    Any ideas on getting it to work as is or with using the actual category name?

  • The topic ‘Display count next to yearly category archive’ is closed to new replies.