Skip Navigation

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

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 2 años, 8 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por ashleighP hace 2 años, 8 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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!