Tagged: avia layout builder, copy page, Shortcodes
I notice that if I stay with the default editor most or all of the features I can access through the Avia Layout Builder are there as shortcodes from the dropdown.
Is there a way to view the shortcode version (straight text) of a page after creating it in the Avia Layout Builder? If I switch back to the Default editor, it’s just a blank post.
Related to this, if I wanted to copy just one page from say a local WP install to a staging server, is there a way to do that easily? I see that I can create Templates and use those within the same site/install. But I’m not seeing a way to copy/paste page content from one install to another.
Thanks.
Hey beedle!
Thank you for using the theme. I hope you’re doing well today. Please switch your theme to debug mode. Edit function.php, find this code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Below, add this code:
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}
You will be able to see the actual shortcode below the builder.
Regards,
Ismael
Thanks very much, Ismael!
I’d love to see a kind of “round trip” shortcode functionality in the theme where you could switch back and forth between the two editors and thus, easily copy the shortcodes into the default editor, and then switch back to the nice UI of the Advanced Layout Builder.
But I appreciate you sharing this tip for a way I can see the shortcode now. Thanks again!