Weird Category Problem
-
Hey guys & gals,
I used a simple function to output the number of posts for each category…
[code]
function the_category_count( $cat_id ){
$o = wp_cache_get( $cat_id, 'category' );
print $o->count;
}
[/code]However for some reason the numbers only appear beside a select few categories, most are omitted. Does anybody have any idea why some of the categories have been skipped?
You can see an example of the numbers skipping here:
The skipping begins with Animals, Anime and so on.
Thank you for looking,
Mario
The topic ‘Weird Category Problem’ is closed to new replies.