Skip to content

Instantly share code, notes, and snippets.

@brunomonteiro3
Last active August 29, 2015 14:26
Show Gist options
  • Save brunomonteiro3/322ad02d6de3e18fba28 to your computer and use it in GitHub Desktop.
Save brunomonteiro3/322ad02d6de3e18fba28 to your computer and use it in GitHub Desktop.
Taxonomy template for Wordpress
<?php
$taxonomy = get_term_by('slug', get_query_var( 'term' ), get_query_var( 'taxonomy'));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment