1
vote
1answer
116 views

Wordpress count child posts of each parent custom post type and use in json array for google maps jquery plugin

So i have been looking for a couple of days now and cant find a solution to this anywhere. It is a fairly bespoke request from a client... I am using a jQuery google maps plugin to add markers for ...
0
votes
0answers
43 views

How to count RSS posts from a custom URL?

In my RSS feed, for example in a custom conditional URL: domain/?m=20130407&feed=rss2&cat=3 I'm getting all my required tags, after editing wp-includes' file feed-rss2.php With pagination ...
0
votes
2answers
457 views

Count number of posts of current month

I am trying to echo the number of posts for the current month from all categories but it isnt working. <?php $month = date('m'); $year = date('Y'); $countposts = ...
1
vote
1answer
667 views

Problem with get_posts, tax_query and counting the number of posts

I want to count the number of posts that has simoultaneously 3 different taxonomies. THe code i'm using is this: $products = get_posts(array( 'post_type' => 'products', 'posts_per_page' ...
2
votes
3answers
861 views

Post count per (day/month/year) since blog began

I'm looking to echo the number of posts per month since the blog began, and for months where there was no posts echo '0'. This is the output I want: January 1, February 3, March 8, April 3, ... ...