Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Created November 8, 2013 16:03
Show Gist options
  • Select an option

  • Save JiveDig/7373253 to your computer and use it in GitHub Desktop.

Select an option

Save JiveDig/7373253 to your computer and use it in GitHub Desktop.
Show single term of a taxonomy
$term_name = single_cat_title( $prefix = '', $display = false );
echo '<h1 class="entry-title" itemprop="headline">' . $term_name . '</h1>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment