If you paste any type of shortcode in the value field of the custom fields meta box, it won’t work.
By default, WordPress doesn’t automatically parse shortcodes added to custom fields.
To make your shortcodes execute, you need to modify the code you use to get the post meta.
In this tutorial, i’ll provide 2 code snippets which show you what the code looks without modification for parsing shortcodes as well as with the correct modification to the code so all your shortcodes will print correctly in your custom fields.
Here’s the Post Edit screen in the backend which shows you 2 custom fields that work with the code below:
Here’s the code for logged in members:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.