Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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?

    #801236

    Hey 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 Shannon

    #801246

    Hello, 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

    #801257

    This code I use to enable the Custom Css Class field. But this has nothing to do with saved page templates.

    #801261

    Hi,
    I moved the function to the correct place in your functions.php file

    If 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,
    Mike

    #801270

    Hello 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?

    #801271

    Hi,
    That is because you tried to add the debug function again, when you wanted to only add the custom css function.
    Your code above has two functions together.
    In your functions.php your custom css was committed out, so I fixed it.
    See if it’s working now :)

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.