• Site auto upgraded and now getting <p> and </br> in my html code for a text widget. I searched and one solution offered was to remove filter in functions file. I tried that with no success. please advise. It has messed up all my css.
    my site: https://TampaHomesExpert.com

    • This topic was modified 7 years, 9 months ago by lovelyrehsi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • having same problem, the theme developer is not much help, but here’s the code he gave me to add to functions.php file, maybe it will help you, it brought my site down, but I didn’t know exactly where to place it, so I removed it, maybe you know where to place it?

    remove_filter(‘widget_text_content’,’wpautop’)

    He also said remove all spaces in the widget code, did not help my issue. the <p>’s and </br>’s are not showing up in the text tab, and I don’t know what file to go to in order to remove those.

    Ah, I found the solution after much research. Add the plugin Black STudio Tiny MCE Widget, and it allows you to add a “visual editor” widget rather than a “text” widget to your widget areas that eliminates the spacing issues. good luck!

    just put an css code like

    .textwidget br{
    display:none;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘tag and automatically adding’ is closed to new replies.