I am using the same custom taxonomy (e.g. language) for different post types (e.g. books, music etc.). Is there a way to get and display a total for all posts (music, books etc.) that have any taxonomy term assigned?
All I can find is getting the number of posts using a specific term (e.g. english), but I would like a total number of posts for all languages. Also I cant use a simple sum of all the different published posts as some of them may not have a language assigned.
Thanks in advance!
Read more here:: Total number of different post types using custom taxonomy