Hell @andy-galaxy,
This called wpautop and it adds an empty <p> tag on empty lines and this is included in core of WordPress. So in this case could you please try the following plugin toggle wpautop or try to use the following code inside your theme->functions.php file?
/**
* Remove the wpautop filter from the_content
*/
remove_filter( 'the_content', 'wpautop' );
add_filter( 'the_content', function ($content) {
if (has_blocks()) {
return $content;
}
return wpautop($content);
});
Dear @andy-galaxy ,
How are you today?
Just wondering whether you saw our previous message and have tried the suggestion?
Please, let us know if you still need help with this issue.
Dear @andy-galaxy ,
We haven’t heard back from you for 5 days.
We’re marking this thread as resolved.
Please, submit a new support thread if you need more help.
Sorry, was on holiday. But yea, tried your suggestion and it is still there. The empty <p> tags.
Dear @andy-galaxy ,
Thanks for getting back to us!
In this case could you please check this answer https://stackoverflow.com/questions/22710524/stop-wordpress-automatically-showing-p-p-tags#answer-22710688 and try to hide the empty p tags via jQuery?
Please, let us know if that helped.