Tagged: child theme, config.php
Hi,
I’m using a child theme as per Devin’s advice. I have made a change to config-templatebuilder/config.php to switch the builder mode from safe to debug so that I can get access to the shortcode text for the pages I’m creating, by changing a single line in the config.php file: –
I changed
$builder->setMode( 'safe' );
to..
$builder->setMode( 'debug' );
I created a folder in my child theme called config-templatebuilder ; and copied config.php modified into that, but it’s not having any effect, the config.php from the main theme is still being used.
i think i need to add something into functions.php to overide this part of the config.php but don’t know what… can you offer some help?
Hi anyone have some advice, thanks
anyone?
Hi,
Thank you for using Enfold.
I’m sorry but you can’t override the core theme files in the child theme. If you want to set the builder to debug mode, please refer to this link: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Best regards,
Ismael
Thanks Ismael, this did the trick nicely.
Regards
Spleeky.