LeoLopesWeb
12/9/2019 - 4:57 PM

get current taxonomy name

if(is_tax()) {
      $term = get_term_by( 'slug', get_query_var('term'), get_query_var('taxonomy') );
      return $term->name;
    }