Site logo

[Support request] Paragraph tags being stripped from CubeWP WYSIWYG custom field

Home Forums Support [Support request] Paragraph tags being stripped from CubeWP WYSIWYG custom field

Home Forums Support Paragraph tags being stripped from CubeWP WYSIWYG custom field

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2543727
    Steve

    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.

    #2543869
    Steve

    Never mind – the CubeWP developer has come up with a solution for me so it is now working as expected.

    #2543968
    David
    Staff
    Customer Support

    Hi there,

    glad to hear you got it working!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.