Skip Navigation

[Resolved] Types field is rendering post content in Elementor template

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years ago.

Assisted by: Shane.

Author
Posts
#2280129

I have created a custom post type (Course) and added some custom fields.
One of the fields is a WYSIWYG editor (Field1)
I use Elementor to create single post template for Course.
I use elementor 's Post Content widget to display the post's content which is also built using elementor.
I place Field1' s content using elementor' s Text Editor and I bind the value of the Field1 using elementor' dynamic tags.
I have also used the shortcode widget ([types field='Field1'][/types] )and the same problem occurs.
So, the problem is that if I place Field1 BEFORE the Post Content widget, then Field1 is rendering the post content only and not the value set on the post's editor. This results in duplicated post content when viewing the post.
If I place Field1 AFTER the Post Content widget , then it's value is displayed as it should.

#2280145

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

I saw another custom with a similar issue. This might be due to an update in elementor. I saw that the plugin was updated 6 days ago.

Are you able to rollback to a previous version of Elementor and let me know if the issue remains there as well ?

Thanks,
Shane

#2280169

I will give it a try as soon as I can and I will let you know.
I just wanted to report the bug.
If you want you can resolve the issue.
If you leave it unresolved, I will let you know about the rollback in a few days.

#2280771

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you.

Also there is another method that you can look into doing.

Try using the text editor widget for elementor but rather than loading the WYSIWYG content using the dynamic content option try using the types shortcode with the supress_filters parameter.

Here is an example


[types field='my-field' suppress_filters='true'][/types]

Please try this and let me know the result.

Thanks,
Shane