Display the number of published posts for each custom taxonomy term?
You can use get_terms to get the list of all terms associated with a taxonomy. Once you have all the separate terms, you can use $term->name to display the name of the term and $term->count to retrieve the amount of posts inside that specific term. Here is a slightly modified version of the code found … Read more