Hi guys,
I read several questions about creating custom post type or just custom template by the classic wordpress way for enfold theme (like copying single.php and the according loop file, renaming it, … ). My question is is there a way to use layout builder elements like tabs accordion, sections with parallax background and other ones in these classic templates ? Some kind of method to benefit from the flexibility of wordpress custom templating and the brick system of avia ?
I tried echoing do_shortcode instructions and it works flawlessly but I can find any documentation abouth this possibility. Could you help me to get further (or not :-) ?
Thanks for your help.
Hey birbidouille!
Thank you for using Enfold.
Yes, you can use the do_shortcode function to render a specific element or shortcode in a template. Could you please explain your intentions further? And you might find custom fields useful.
// https://codex.wordpress.org/Custom_Fields
// https://developer.wordpress.org/reference/functions/do_shortcode/
If you want to see the actual shortcodes hidden behind the advance layout builder, set it to debug mode. http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Best regards,
Ismael
