描述周围的H1标记?
echo \'<h1>\' . term_description() . \'</h1>\';
更新:添加插件链接,允许在术语描述中使用HTML
WordPress Plugins - Allow HTML in Category Descriptions
这将与自定义分类一起使用
http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/
Copy of the appropriate code<对于那些只想看看它是如何完成的人来说。
$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\' );
}