• Resolved sugartoys

    (@sugartoys)


    Hi guys. first, i lookup just in case to avoid asking but no luck.

    Im trying to get a specific taxonomy count.

    Im doing a dashboard that count taxonomies and custom post types. I manage to use wp_count_posts and wp_count_terms to get the counts and it works just fine. But now i want to get the number of specific term. I manage to query the whole list but now i just need to display a specific one.

    Im using $sgr_cpt = wp_count_terms(‘trabajo’); then echo it to get my count. Do i need to add something to the parm of the class? this is where i got stuck.

    thnx in advance. ??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get Specific Taxonomy Count’ is closed to new replies.