Skip Navigation

Showing a WYSIWYG field using Elementor dynamic content outputs the entire post

Won't fix

Symptoms

If you use Elementor Pro to make templates and try to output a Types WYSIWYG field using an Elementor Text Module with the WYSIWYG as its dynamic source you may find that instead of outputting the field content, the whole post is rendered in its place.

Workaround

The problem relates to Elementor hooking into the_content filter.

When inserting WYSIWYG fields using a types shortcode it is possible to prevent other code hooking into the_content filter, so as a workaround, instead of using the dynamic source of the Elementor Text Module, output the field in the same module via shortcode instead, e.g.

[types field="my-wysiwyg-field" suppress_filters="true"][/types]

Leave
a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>