Skip to content

Instantly share code, notes, and snippets.

@blbwd blbwd/template.php
Created Sep 9, 2015

What would you like to do?
WordPress - show custom taxonomy term description
$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
You can’t perform that action at this time.