WordPress.org

Support

Support » How-To and Troubleshooting » HTML Category Description

HTML Category Description

  • 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:
    http://mays.tamu.edu/blog/?cat=8

    This copy was stylized:
    Fernando โ€œFernieโ€ RiveraClass of 2008 Sophomore marketing major from McAllen, Texas

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 ๐Ÿ™‚

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

    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 ๐Ÿ™‚

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML Category Description’ is closed to new replies.