How can I see the code generated by the Advanced Layout Editor?
Hello sletts02!
You can turn on the debug mode for it by adding this to your functions.php:
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}
Regards,
Devin
Thanks Devin – I’ve added that code. Is there something I now need to do to enable it?
I can’t seem to see any extra button to see the code?
Hello!
You need to add the code at the very top of functions.php – otherwise it will not work. Afterwards Enfold will display a text field underneath the visual composer/editor field which allows you to manipulate and view the layout source code.
Cheers!
Peter