Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix HTML code in author bio

Discussion in 'Misc WordPress Requests' started by Cobra, Nov 9, 2017.

  1. Cobra


    HTML code in author bio, by Cobra

    To allow HTML in author biography, I found this code to be included in functions.php
    But now I can use bold tags or links, but I still can not enter the “p” and “br” tags.

    Where are they filtered?

    the code found:

    remove_filter('pre_user_description', 'wp_filter_kses');
    add_filter( 'pre_user_description', 'wp_filter_post_kses');

    HTML code in author bio

Share This Page

Monarch Social Sharing Plugin