Custom Post Type Category List & Post Count

$tax_term->count should contain the number of posts in the category. You may need to add the $args parameter if you want to include subcategory counts.

Docs: get_terms()

Leave a Comment

error code: 523