Skip Navigation

[Resolved] Post form notification not including body content

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by lesleeM 1 year, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2609039

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:

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

#2609103

Minesh
Supporter

Languages: English (English )

Timezone: 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%%"] 
#2609225

That worked! Thanks again.

#2609227

My issue is resolved now. Thank you!