Support

Account

Home Forums Front-end Issues wpautop on wysiwyg fields

Helping

wpautop on wysiwyg fields

  • Is there a way to remove_filter on custom wysiwyg fields?
    i did not find any solution to this, for now i just used this in my css:

    
    p:empty {
    display:none
    }
    

    Thanks

  • Hi @ildaniel8

    You can load the value without any formating like so:

    
    the_field($field_name, false, false);
    

    You can read-up on the docs if you wish, but the 2 false params will prevent formatting.

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘wpautop on wysiwyg fields’ is closed to new replies.