Results 1 to 1 of 1
May 22, 2012, 03:22 #1
- Join Date
- May 2012
- 0 Post(s)
- 0 Thread(s)
Wordpress: display post count for category and day
I have tried so many variations of code to achieve this, so any help would be appreciated..
I want to display a post count for each category, but from a certain time frame.
For example the number of posts for category 1 this week.
The code I have to get the post count is
<?php $chosen_id = 1; $thisCat = get_category($chosen_id); echo $thisCat->count; ?>