Conversation
supportHi The widget seems to filter html from the field value. I use a WYSIWYG field type, but the widget filters at least all p and br tags. Any idea on how to display the content as it should be? Thanks http://wordpress.org/plugins/advanced-custom-field-widget/
Hi netsolution, I was hoping to have a quick fix for you, but unfortunately this is down to how the Advanced Custom Field plugin stores the text from a WYSIWYG field. I’ve just added ACF back to my development blog, and it appears it doesn’t store the HTML as you might imagine. I’ve just taken a peek at the postmeta table and the data being stored is filtered. It’s doing some sort of conversion on it that is resulting in the paragraph tags being removed. Even with the content filtering disabled. My widget shouldn’t filter HTML as I use it to display HTML myself. Sorry I can’t be more assistance. Regards Athena
Hi netsolution, I was hoping to have a quick fix for you, but unfortunately this is down to how the Advanced Custom Field plugin stores the text from a WYSIWYG field. I’ve just added ACF back to my development blog, and it appears it doesn’t store the HTML as you might imagine. I’ve just taken a peek at the postmeta table and the data being stored is filtered. It’s doing some sort of conversion on it that is resulting in the paragraph tags being removed. Even with the content filtering disabled. My widget shouldn’t filter HTML as I use it to display HTML myself. Sorry I can’t be more assistance. Regards Athena