Created
September 9, 2015 16:43
-
-
Save sanjaybhowmick/ca4d5f3500267934459e to your computer and use it in GitHub Desktop.
WordPress - show custom taxonomy term description
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 | |
$taxonomy_term_description = term_description( '', get_query_var( 'taxonomy' ) ); | |
if($taxonomy_term_description != '') : ?> | |
<div class="tag-desc"><?php echo $taxonomy_term_description; ?></div> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment