Allow HTML in Category Descriptions
works as advertised (4 posts)

  1. Dwenaus
    Posted 3 years ago #

    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' );
  2. Arno Esterhuizen
    Plugin Author

    Posted 3 years ago #

    Indeed, that's pretty much all the plugin does. Creating a plugin just makes it easier to install for people not comfortable editing functions.php

    Thanks for your comment :)

  3. worthdesigning
    Posted 3 years ago #

    Thanks Arno ... does what it says.

    Yes - if people aren't comfortable editing their functions.php file then this plugin is ideal for them. Saying "it's just a small snippet of code" is a little derogotory. Could be worded better.

  4. Dwenaus
    Posted 3 years ago #

    I thought the 5 stars would balance that out. I personally don't like to install too many plugins.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow HTML in Category Descriptions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.