HTML Category Description (5 posts)

  1. mherzber
    Posted 10 years ago #

    Since upagrading to wp 2.0 when I go to edit or add a category description it scripts the html. I had them before I updated and they were fine. Any ideas on a fix or a plugin so I can add html?

    Example page:

    This copy was stylized:
    Fernando “Fernie” RiveraClass of 2008 Sophomore marketing major from McAllen, Texas

  2. redbox
    Posted 9 years ago #

    Did you find a solution to this? I want to include images in my category descriptions but it strips my html, too. Any advice would be appreciated :)

  3. redbox
    Posted 9 years ago #

    Ok, I found the solution. In wp-includes/default-filters.php find and comment out:
    add_filter('pre_category_description', 'wp_filter_kses');

  4. Xander
    Posted 9 years ago #

    Don't you just love little "features" like this that creep up on you unaware... it's not like anyone is going to tell me my links in the category descriptions have suddenly been neutered. Grr :)

  5. sophiavancouver
    Posted 9 years ago #

    Thank you, thank you, thank you! It's been driving me nuts that wordpress been stripping the
    list and line break tags from my category descriptions.

Topic Closed

This topic has been closed to new replies.

About this Topic