Allow HTML in Category Description

By default, WordPress will not accept your html in a post category, or other taxonomy description field. If you add the snippet below to your WordPress theme’s functions.php file, you will be able to insert html in the description fields for your categories.

foreach ( array( 'pre_term_description' ) as $filter ) {
remove_filter( $filter, 'wp_filter_kses' );
}

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

If you prefer remote hands from a friendly Valice support professional to assist you, we have membership plans for that. Or if you just want one-time help, click here to schedule a session.