Support

Account

Home Forums Front-end Issues Paragraph wrapped in empty tags Reply To: Paragraph wrapped in empty tags

  • So it turns out I was calling the text as follows:
    <p><?php echo $text; ?></p>
    But because the WYSIWYG already includes p-tags, for some reason WordPress/ACF then decides to add empty p-tags before AND after the paragraph.
    Anyway, I removed the p-tags from my code and now it’s working as intended 🙂