Created
March 23, 2013 04:02
-
-
Save spencejs/5226393 to your computer and use it in GitHub Desktop.
Echo Queried Term Name
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
<?php //Echo Queried Term Name | |
$term = $wp_query->queried_object; | |
$termname = $term->name; ?> | |
<h3><?php echo $termname; ?></h3> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment