By default, the iNove wordpress theme (yes, the simple yet slick theme you see here) doesn’t display the number of posts in each category. You may like it that way, but I decided to find out if there was a way to enable them. Turns out you can, and it’s as easy as apple pie. With ice cream.
Head on over to your trusty wp (WordPress) theme editor, and edit sidebar.php. Then search for the categories section. This is the block of code you’re looking for:
<!-- categories --> <div class="widget widget_categories"> <h3>Categories</h3> <ul> <?php wp_list_cats('sort_column=name&optioncount=0&depth=1'); ?> </ul> </div>
All you need to do is change optioncount=0 to optioncount=1 so that the php line looks like this:
<?php wp_list_cats('sort_column=name&optioncount=1&depth=1'); ?>
Save it and you’re done! It’s so simple, I feel like I’m forgetting something.
Enjoy
Hello!
Nice post!
If you need to get the iNove’s sidebar smaller, just read the following article – http://dotnetfollower.com/wordpress/2010/12/get-the-smaller-sidebar-of-inove-theme/
Thanks!