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