Skip Navigation

[Closed] WordPress shortcodes showing in email notifications

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.

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 1 year, 10 months ago.

Assigned support staff: Nigel.

Screenshot 2020-01-04 at 16.33.35.png


The shortcode for the email notification [wpv-post-body view_template="None"] is showing WordPress shortcodes as per the image attached. Is there anything that can be done about this ?

Thanks loads




Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nathalie

Can I check the details here so I can try and reproduce this?

You have a form to publish posts.
The notification from that form includes the post body in the content of the email, using the wpv-post-body shortcode.
The content of the post itself, submitted with the form, includes shortcodes such as, in your example, the caption shortcode, and this is being printed as text in the notification.

Is that a correct description of your setup?


Thanks for your quick response Nigel. I am sorry I had missed the email notification!

Yes that is correct

The content of the post includes an image (Add media) with a caption. The caption shortcake which is generated by WordPress is showing on the email as per my image.




Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I'm not able to reproduce this.

I created a form to publish posts which includes a notification sent when the form is submitted that includes the post content (from the wpv-post-body shortcode) in the notification body.

When completing the form I inserted an image with a caption in the content of the post and submitted the form.

I then checked the resulting email and saw that the caption shortcode had been correctly parsed and the caption displayed.

I don't have any info about your site, so I would ask that you first try the following:

- make sure that WordPress and all plugins are up-to-date, then test again
- try disabling all non-Toolset plugins and test again
- try switching theme to twentynineteen and test again

If disabling other plugins helps fix the problem then you should be able to identify the source of any conflict by a process of elimination.

Let me know how you get on.

The topic ‘[Closed] WordPress shortcodes showing in email notifications’ is closed to new replies.