I’m new to wordpress and currently developing a theme on it. I have noticed that WordPress adds <p>
tags all over the page. Do you know any plugin or a workaround to avoid this?
Leave a Reply
You must be logged in to post a comment.
I’m new to wordpress and currently developing a theme on it. I have noticed that WordPress adds <p>
tags all over the page. Do you know any plugin or a workaround to avoid this?
You must be logged in to post a comment.
Add this to your functions.php, this should give the result you’re looking for:
Try this, assuming you have the html code in variable
$html_code
The WP Unformatted module will remove that default filter.