I’m trying to display the ‘Tag Description’ on my tagged pages. I’ve added an if statement to loop-page.php already to only show custom text when a tagged page is being displayed…
<?php } elseif ( is_tax ( 'product_tag' ) ){ ?><h1 class="entry-title"><?php the_title(); ?> print out this text on page</h1>
… but I don’t know the code to output the tag description.
Does anyone know the code to display the tag description? I want it to go after the H1 in the above code. I’m trying to output the description that is entered when you go into WordPress Admin>Products>Product Tags>Description using WPeC 3.8.
I’m using the Twenty10 theme, WPec 3.8 and WP 3.1
Thanks for your help
ChainsawDR
get the term by its slug and echo out the descriptions