• 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' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Esterhuizen

    (@arnoesterhuizen)

    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 ??

    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.

    Thread Starter Dwenaus

    (@dwenaus)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘works as advertised’ is closed to new replies.