Hi, I’m trying to enable debug mode in my enfold child theme but when I drop the following code into the functions.php file the entire site goes down.
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}
I tried to put it directly into the parent theme as well (underneath if(isset($avia_config[‘use_child_theme_functions_only’])) return;) but had the same issue. Not sure what’s up but can someone help?
Thanks
Hey robnelson4,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Credentials below
Hi!
I removed the code from your parent theme and added it to your child theme. Please review your website.
Cheers!
Yigit
That was it?! I thought that was the first thing I had tried…
Many thanks for your help.
Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit