$terms = get_terms($g_term->taxonomy); foreach ( $terms as $term ) { echo ''.$term->name.''; } ;?>