Skip to content

Instantly share code, notes, and snippets.

@leanneromak
Created August 11, 2015 16:51
Show Gist options
  • Save leanneromak/736535062d837a2bff47 to your computer and use it in GitHub Desktop.
Save leanneromak/736535062d837a2bff47 to your computer and use it in GitHub Desktop.
Get Taxomony term for Title
<h1><?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->name; ?></h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment