-
AuthorPosts
-
May 29, 2017 at 8:32 pm #801232
Hello, I need your help. I have a site made with Enfold and in this site I created some templates. I saved them.
I am making another website in another domain. I would like to use some of these templates. How to import them into a new domain?
May 29, 2017 at 8:36 pm #801236Hey mleite1,
Set the advance layout builder to debug mode. You can then copy the shortcodes to another Enfold installation: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Best regards,
Jordan ShannonMay 29, 2017 at 8:51 pm #801246Hello, I did what it says on the page – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
ON FUNCTION.PHP
//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}And nothing has changed. Nothing different appeared on the page.
LINK
May 29, 2017 at 9:16 pm #801257This code I use to enable the Custom Css Class field. But this has nothing to do with saved page templates.
May 29, 2017 at 9:24 pm #801261Hi,
I moved the function to the correct place in your functions.php fileIf you are not using a child theme you need to add the above function after this line in the theme functions.php:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Best regards,
MikeMay 29, 2017 at 9:45 pm #801270Hello thank you so much. It worked. But the CSS CLASS field has not yet matched. When I was adding this code below to enable CSS CLASS gave error saving function.php.
I ALWAYS USE THIS CODE BELOW TO ENABLE THE CSS CLASS.
/ * LINE ID ENFOLD ADDED 10112016 * /
Add_theme_support (‘avia_template_builder_custom_css’);// set builder mode to debug
Add_action (‘avia_builder_mode’, ‘builder_set_debug’);
Function builder_set_debug ()
{
Return “debug”;
}THAT ERROR APPEARS
Fatal error: Can not redeclare builder_set_debug () (previously declared in /home/storage/9/24/58/cces/public_html/cces2/wp-content/themes/cces/functions.php:22) in / home / storage / 9 /24/58/cces/public_html/cces2/wp-content/themes/cces/functions.php on line 580
What could be happening?
May 29, 2017 at 9:55 pm #801271 -
AuthorPosts
- You must be logged in to reply to this topic.