Hi folks,
first of all I really love your plugin. I mostly use the free version for creating custom fields for posts, pages and custom post types.
But I´m running into a serious problem every time.
Is there a way to display Shortcodes by a custom field.
I am trying to:
1.) I want the user to insert a Contact Form 7 shortcode into a single custom field, but I don´t know how to display it on the frontend.
2.) I have a custom field which uses the WYSIWYG editor. When the user inserts a (WordPress-) image gallery it just shows a shortcode in the frontend. Is there a way to show the gallery?
It would be nice, if somebody could help me with that.
Thank you in advance.
Dear Jens,
How do you render the field value in front-end?
I just tested with Types shortcode in my localhost, it is able to resolve the shortcode in field value, I suggest you try this:
1) Make sure you are using the latest version of Types plugin
2) Deactivate other plugins and switch to wordpress default theme
2) render the custom field with Types shortcode [types ...][/types]
More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/
click link "Usage examples", you will be able to see the examples:
shortcode: [types field='my-address'][/types]