We use Visual Composer Shortcodes in our Custom Post Fields (see screenshot). These have worked flawlessly for 2+ years however upon recently updating our Types and other Toolset plugins the shortcodes appear to not be outputting.
Link for live example is here - hidden link
Screenshot of issue also attached.
Also attached is the actually Code being called in the Content Template if helpful.
Hello,
It is not recommended to use other shortcode in "Custom field content" input box, as a workaround, you can setup simple static value insider "Custom field content" input box, for example:
- option "Abbott", "Custom field content" value: abbott
- option "Ackerly, Henry S.", "Custom field content" value: ackerly
...
Then display the your custom shortcodes using [wpv-conditional], like this:
[wpv-conditional if="( $(ephemera-category) eq 'abbott' )"]
Display your custom abbott shortcodes here...
[/wpv-conditional]
[wpv-conditional if="( $(ephemera-category) eq 'ackerly' )"]
Display your custom ackerly shortcodes here...
[/wpv-conditional]
...
More help:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
We changed the custom field content to be just normal content i.e. erard.
We then created in the Content Template a Conditional Output for the visual composer shortcode as described above using:
[wpv-conditional if="( $(ephemera-category) eq 'erard' )"]
SHORTCODE FROM VISUAL COMPOSER WAS PASTED HERE (SEE SCREENSHOT)
[/wpv-conditional]
And it is still outputting the Visual Composer Shortcodes as text and not as a functioning shortcode (which is the same problem we are having as when trying to use custom field content as the shortcode). We didn't have any issues with this prior to updating.
Link to page - hidden link
The problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again
2) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
3) If the problem still persists, please provide database copy file(ZIP file) of your website, also point out the problem page URL and Content Template URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/