i have a piece of code which is helped to display the description of custom taxonomies
but i want to put <h1>
tag for the title of description, but that description box doesn’t takes html tags,
so how can i implement html tags to my description
here is my code
<div class="featured post">
<p><?php
if ( is_tax( 'location' ) ) {
echo term_description();
}
elseif (is_tax('mba_courses')){
echo term_description();
}
elseif (is_tax('duration')){
echo term_description();
}
?></p>
</div>
H1 tags around the descriptions?
UPDATE: Add link to plugin to allow HTML in term descriptions.
WordPress Plugins – Allow HTML in Category Descriptions
This will work with custom taxonomies to.
http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/
Copy of the appropriate code
For those of you that want to simply see how it’s done.