WP_Query to display number of custom post type filtered (order by) taxonomy

I am trying to display the number of posts made in custom post type “incidents” by the custom taxonomy “store”.

eg.

Store 1: 8 posts

Store 2: 6 posts

etc.

I have been looking through here and only been able to find how to display the actual posts, which I do not need.
Thanks for any help!

Read more here:: WP_Query to display number of custom post type filtered (order by) taxonomy

Leave a Reply

Your email address will not be published. Required fields are marked *