WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Categoriy description (3 posts)

  1. marschupp
    Member
    Posted 7 years ago #

    I want to make a quite long description of my categories. No problem to type the text. But it doesn't handle my break lines. All my '<br>' or '<p>' tags are away. It became quite a big unreadable block.
    Is there any way to solve that problem ?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Add this to your theme's functions.php file:
    remove_filter('pre_category_description', 'wp_filter_kses');

    That should change it to allow you to enter whatever you want for the description.

  3. marschupp
    Member
    Posted 7 years ago #

    Thanks! It works.

Topic Closed

This topic has been closed to new replies.

About this Topic