Skip Navigation

[Resolved] Can’t get post body to show in CRED email notification

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

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 2 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.

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

Last updated by ashleighP 2 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#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!