Hi Guys,

I’ve been trying to set up a index archive for category/ tag
How can I show total number of posts in category?

Thank you

Hi @pablo,

Thanks for getting in touch with VolThemes Support.

You can use ‘get_terms’ function to the taxonomy or variation ‘get_category’ and fetch the number out of object.

Function Reference:

get_terms()


https://codex.wordpress.org/Function_Reference/get_category

Best Regards,

Joe

You must be logged in to reply in this thread.