Skip Navigation

[Resolved] Elementor + CPT with WYSIWYG Editor displays content from YASR Plugin

This thread is resolved. Here is a description of the problem and solution.

Problem:

Somehow the WYSIWYG editor "grabs" the structured data from "Yet Another Stars Rating plugin" but ONLY if I enter anything in that editor. If I leave the WYSIWYG empty, no code shows up.

Solution:

You can add attribute suppress_filters='true' into Types shortcode, and test again. For example:

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

Relevant Documentation:

https://toolset.com/documentation/customizing-sites-using-php/functions/#wysiwyg

This support ticket is created 4 years, 8 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by JensP9777 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1560455
toolset.jpg

Hey guys,

my current setup is:

Elementor + Toolset + YASR (Yet Another Stars Rating) Plugin and it causes a problem when displaying everything on one page.

Working Setup:

Page with Content fields (Toolset) and YASR implementation via Shortcode

Problem Setup

Page with WYSIWYG field (Toolset) and YASR implementation via Shortcode (see screenshot)

Somehow the WYSIWYG editor "grabs" the structured data from that start plugin but ONLY if I enter anything in that editor. If I leave the WYSIWYG empty, no code shows up.

Any solution for that? :/

Cheers
Jens

#1561013

Hello,

I have seen similar problem before, I assume you are using Types shortcode [types ...] to display the custom WYSIWYG field, please try to add attribute suppress_filters='true' into Types shortcode, and test again. For example:
[types field='my-wysiwyg' suppress_filters='true'][/types]

More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/#wysiwyg
suppress_filters:
'true' | 'false' (default)
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed

#1561045

Hey Luo,

thanks for your quick reply.

Sadly I am not using a shortcode to add the editor. I definied it under "edit group" and added it as a new field for my custom post type.

Is there any way to work around that or build something in another way?

Cheers
Jens

#1561139

Dear Jens,

How do you display the YASR shortcode? How do you display the WYSIWYG field?
Can you try this: add a text block/cell, and display the WYSIWYG field with Types shortcode I mentioned above?

Since it is a compatibility issue, if you need more assistance for it, please a copy of your website in below private message box, also point out the problem page URL, I need to test and debug it in my localhost

#1561257
editor.JPG

Thanks for the details, please try these:
1) Edit the Elementor template "Tools Unterseite Final":
hidden link

2) Replace the "Editor" field with a text widget, use below shortcode:
[types field='editor' suppress_filters='true'][/types]
See screenshot: editor.JPG

It works fine in my localhost.

#1561347

My issue is resolved now. Thank you!