Hi i'm trying to figure out how to count the number of terms for the current post, i've tried using wp_get_object_terms
() and
<?php
$title = get_post($post->ID);
$numTerms = wp_count_terms( $title->post_type, array(
'hide_empty'=> false,
'parent' => 0
) ); ?>
without any luck, does anyone have a solution for this issue?
thanks