Created
June 11, 2012 14:52
-
-
Save stellarcowboy/2910452 to your computer and use it in GitHub Desktop.
Display The Name Of The Custom Taxonomy For The Current Post - WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$value = get_query_var($wp_query->query_vars['taxonomy']); | |
echo get_term_by('slug',$value,$wp_query->query_vars['taxonomy']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment