Posted By

LuckyShot on 11/17/09


Tagged

wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

maxvee8
booski


Wordpress - Total number of posts in a category


 / Published in: PHP
 

  1. $totalposts = get_category_by_slug("mycategoryname")->category_count;

Report this snippet  

You need to login to post a comment.