I am using CubeWP for custom fields and it’s working great except I am having an issue with all <p> tags being stripped from WYSIWYG fields in the front end. All other HTML tags like headings, bold, italic, links etc come through fine. I am using the GB Headline block set to div to pull in the dynamic data from the WYSIWYG field.
I have been in touch with the CubeWP developer and he has tested his end and says the <p> tags are being sent (he sent me a grab showing this) and said perhaps the p tags were being stripped by the theme or plugin because “because there are many theme/plugins who have coded purposely to remove p from get_the_content() of single post.”
I saw this earlier thread where two users had a similar issue with ACF WYSIWYG fields:
https://generatepress.com/forums/topic/no-formatting-possible-with-acf-wysiwyg-field/
Their issue was solved by upgrading to GB Pro – but I’m already using GB Pro and not using ACF…
Any advice on how to make the p tags from the WYSIWYG field come through please?
thanks.