apamphilon

Get taxonomy name on archive / index template

$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
echo $term->name;

Credit


Comments: