How to remove posts amount from category in mystique wordpress theme.

RedKiller

Junior Member
Joined
Oct 16, 2010
Messages
183
Reaction score
75
Hello,

If you have use mystique theme before, you know they show the amount of posts you have in each category, I'v been searching around to hide this info, anyone knows a way to do it ?

Thanks
 
Apparently, you need to look in the WP code for 2 functions:
wp_list_categories
wp_list_pages

or for an old template, you may see calls to functions named wp_list_cats or list_cats.

Here is a typical set of arguments included in the call to the wp_list_categories function:

wp_list_categories('show_count=1&title_li=<h2>Categories</h2>');
These arguments turn on the category post counts and display the name Categories above the list.
...
To turn off the post count, remove the argument show_count=1 and any ampersand separating it from another argument. As an alternate, you could change the value to zero ( 0 ), which would have the same effect. If you want to turn the post count on, change the value to 1. If the show_count argument is missing, add the following as the first argument: show_count=1&. Do not forget to add the ampersand to separate arguments.

Source: http://www.tech-evangelist.com/2009/02/17/modify-wordpress-categories/

Good luck.
 
Back
Top