Skip Navigation

[Resolved] After recent ToolSet update shortcodes in the Custom Post Body not rendering

This support ticket is created 3 years, 11 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.

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 9 replies, has 2 voices.

Last updated by PaulS4783 3 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1879929

The custom post type "vehicle" template uses the "Body" field to render a short code which generates a masonry image gallery.
The gallery is created through the Modula plugin.

Until recently, this was working fine.
However, now the masonry image gallery for each vehicle isn't working.

hidden link

If you mouse over the space below "Our Showroom" you can see there are some "ghosted" images that have some CSS hover activation but the JavaScript which produces the proper gallery appears to be NOT rendering.

The Modula plugins have been updated for the latest version of WP so I don't think its a legacy jQuery issue.

I have created a working clone site for you to investigate the problem.

Using latest version of WP 5.6 and ToolSet Types/Views.

On other pages which DON'T use ToolSet, the Modula Gallery works fine:
e.g. hidden link

#1880071
gallery.JPG

Hello,

I have done below modifications in your website:
1) Edit the content template:

Modify the post body shortcode from:
[wpv-post-body view_template="None"]
To:
[wpv-post-body view_template="None" suppress_filters="true"]

2) Test it in front-end, it works fine, see my screenshot, please test again, check if it is fixed, thanks

More help:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed, when retrieving the post body

#1880215

Thank you!
That is definitely a step in the right direction.

However, there is still a problem because
a) none of the other vehicles using the same template have been fixed
e.g.
hidden link
hidden link
hidden link

b) also the Japanese language version of this vehicle:
hidden link
isn't fixed:
hidden link

I'm using WPML (the other major plugin sold by your company).

#1882187

It is a compatibility issue, I have searched it in WPML forum, for example:
https://wpml.org/forums/topic/modula-gallery-on-homepage-changing-form-after-switch-language/
The "Modula" plugin is not officially supported by WPML, please provide a copy of your website in below private message box, I need to test and debug it in my localhost.
https://toolset.com/faq/provide-supporters-copy-site/

#1882191

I dont see any private message box to upload the Duplicator archive files.

#1882193

Private message enabled, ou can put the package files in your own google drive disk, share the link only, thanks

#1882199
#1882351

I have downloaded it, you can remove as you want.

#1883459

I can install the package files in my localhost, will update here if find anything

#1884755
maserati-gran-tourismo.JPG

I have tried these in my localhost:
1) Deactivate all other plugins(except Toolset plugins + WPML plugins +
Modula plugins)
2) Test those problem pages in front-end, it works fine, I can see the Modula galleries, see my screenshot maserati-gran-tourismo.JPG
3) Activate Beaver Builder plugin, the problem occurs, so it should be a compatibility problem with the Beaver Builder plugin, can you confirm it in your website?

#1885581

Confirmed.
OK thanks, I will need to pursue this with the BB team.

You can close the ticket.