term_description help

H1 tags around the descriptions?

echo '<h1>' . term_description() . '</h1>';

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.

$filters = array('pre_term_description', 'pre_link_description', 'pre_link_notes', 'pre_user_description');
foreach ( $filters as $filter ) {
    remove_filter($filter, 'wp_filter_kses');
}

foreach ( array( 'term_description' ) as $filter ) {
    remove_filter( $filter, 'wp_kses_data' );
}

Leave a Comment