Category description allow HTML
Hi Rahul,
WordPress uses filters to block HTML in category description (taxonomies).
This is what i use to unblock it:
// allow html in category and taxonomy descriptions
remove_filter( ‘pre_term_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_notes’, ‘wp_filter_kses’ );
remove_filter( ‘term_description’, ‘wp_kses_data’ );
BUT it does not effect the AnsPress category description.
How can i enable HTML in AnsPress category description?
Hello,
Look like a bug. I will fix it. You can track it here: https://github.com/anspress/anspress/issues/417
strannajaplaneta commented on answer
Thanks Rahul!