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 ...
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 = ...
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' ...
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, ... ...