[Resolved] Display number of authors in a category
I would like to display the number of authors in my chosen category. I have a website with the category Cities. Each post is a property listing and these are added by the authors, which are letting agents.
So when a user is in the London category I would like to display something like:
“There are 14 letting agents active in London”.
Looking at the funciton reference I can only find it to display the authors with wp_list_authors. It would be good if I could use something like wp_list_authors(cat_ID=50)->count. But this isn’t supported.
Thanks for your help guys.
- The topic ‘[Resolved] Display number of authors in a category’ is closed to new replies.