I'd like to count the number of posts created for every category, so:
12 Works (12 posts in works category)
36 Pictures (36 posts in pictures category)
17 Furnitures (17 posts in furnitures category)
How can I do that?
You can use wp_list_categories() function and set show_count to 1 (true)
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 years ago