We have a post form called Ride Notifications. In that form, we have an E-Mail Notification set to send the following within the body of the e-mail:
[wpv-post-body view_template="None"]
I think this was working previously, but now it is not working. In the body of the e-mail, it just says:
No formatted contents: Please try the following link to display plain text, if any.
We have a view set up using this same code, and it is working fine. Our view Loop Item has the following:
<p style="background: #000000; color: #ffffff; padding: 5px; border-radius: 15px;">[wpv-post-date]</p>
[wpv-post-title]<br>
[wpv-post-body view_template="None"]
You can see everything is working fine with this on this page:
versteckter Link
[wpv-post-body view_template="None"] is working fine there. But it isn't working in the e-mail notification. Please advise how we can get this content to be included in the e-mail notification. I'm wondering if I should set up a custom field for the Notification content and use that field in the e-mail instead of using the wpv-post-body.

Minesh
Unterstützer
Sprachen:
Englisch (English )
Zeitzone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
As you can see with the "context" description basically you can use the shortcode [wpv-post-body view_template="None"] when you try to reference the current post body:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body
What if you try to use the following way - does that helps?
[wpv-post-body view_template="None" item="%%POST_ID%%"]
That worked! Thanks again.
My issue is resolved now. Thank you!