This plugin allows you to use unfiltered HTML in your category descriptions by disabling selected WordPress filters.
It is awesome working perfectly what a plugin it is...
it's just a small snippit of code. i wrapped it in a filter and added it to my functions.php file. Works just as well.
function sb_allow_category_desc_html() {
foreach ( array( 'pre_term_description', 'pre_link_description', 'pre_link_notes', 'pre_user_description' ) as $filter ) {
remove_filter( $filter, 'wp_filter_kses' );
}
foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description' ) as $filter ) {
remove_filter( $filter, 'wp_kses_data' );
}
}
add_action( 'init', 'sb_allow_category_desc_html' ); Plugin does what it says. Thanks Arno.
You must log in to submit a review. You can also log in or register using the form near the top of this page.