In WordPress, Widget sidebar even you not added Paragraph (
tag) it automatically getting added by wordpress and cause issue with design layout ?
Want to remove Remove automatic added paragraph from widget sidebar in wordpress ?
well it is very easy to remove automatic added paragraph empty p tag from widget sidebar.
just add below one line code in your active theme functions.php and see magic
# remove automatically added empty paragraph from wp widget sidebar remove_filter('widget_text_content', 'wpautop');
If remove filter widget_text_content not work for you and looking for help? write us and we will help you free of cost with quickly get back to you asap.
Please leave your message in comment box if it work or work by any other method which may help to other as well 🙂