Paragraphs not output on WYSIWYG field type

Support General Paragraphs not output on WYSIWYG field type

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4753
    chillifishchillifish
    Participant

    I have a WYSIWYG field and it's removing all the paragraph tags on output. It's keeping <em> tags, but removing <p> tags.

    #4759
    Anh TranAnh Tran
    Keymaster

    The WYSIWYG field doesn't output the "p" tag by default. It can be done using the "wpautop" function like this:

    echo wpautop( rwmb_meta( 'field_id' ) );

    #4761
    chillifishchillifish
    Participant

    Great, that's done the trick. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Paragraphs not output on WYSIWYG field type’ is closed to new replies.