Skip Navigation

[Gelöst] Can’t get post body to show in CRED email notification

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

When notification emails are sent the post body shortcode doesn't work and it's blank.

Solution:

Please try the [wpv-post-body] shortcode with attribute suppress_filters="true", and test again. For example:

[wpv-post-body view_template="None" suppress_filters="true"]

Relevant Documentation:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body

This support ticket is created vor 2 Jahre. 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 2 Antworten, has 2 Stimmen.

Last updated by ashleighP vor 2 Jahre.

Assisted by: Luo Yang.

Author
Artikel
#2329063
Screen Shot 2022-03-28 at 4.18.16 PM.png
Screen Shot 2022-03-28 at 4.05.04 PM.png

I am trying to: Send an email notification of a new submission on a cred form and include the body of the submission in the email. I have tried both the [wpv-post-body view_template='None'] and [types field='post_content'][/types] shortcodes. The other [types] shortcodes work fine.

Instead, I got: When notification emails are sent the shortcode doesn't work and it's blank.

#2329323

Hello,

Please try the [wpv-post-body] shortcode with attribute suppress_filters="true", and test again. For example:
[wpv-post-body view_template="None" suppress_filters="true"]

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

#2331229

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.