I’m attempting to find a way to display 10 of the categories with the largest number of posts. I’ve been able to display 10 categories along with their post count (see below), but no luck with ordering them by post count.
I’ve attempted to create a custom query string as a provider, but no luck. This is what I have so far taxonomy=eat_drink_dir_cat&orderby=count&order=desc.
The custom post type taxonomy name is eat_drink_dir_cat
How can I get all the categories of a custom post type and order them by post count?
