Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #513747

    Hi,

    I put the code (http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/)

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    	return "debug";
    }

    to function.php of the child theme to get the code of the Avia Layout builder.

    Then I put the code

     ?> 
    	 <?php echo do_shortcode("[av_layerslider id='3']"); ?>
         <?php 

    after get_header(); in the file template-builder.php, which I copied to the enfold child theme.

    As long as the layerslider is put to the page via drag and drop both layerslider are shown – the layerslide via drag & drop and the layerslider which is coded in template-builder.php.

    If I remove the layerslider, which was put via drag&drop, both layerslider are not shown. The layerslider via drag&drop are completely away, the layerslider via code shows only an empty place. The height is the same, as defined in the layerslider, but the slides are not shown.

    Which code-snippets I have to insert so, that the shortcode works correctly.

    Thanks,
    Best regards,
    Daniela

    #513759

    Hi,
    if I let the layerslider via drag&drop inside, and put display:none, to the css-code of this layerslider, the other layerslider is shown.
    Best regards,
    Daniela

    #514133

    Hi Daniela,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #514691

    Hi,
    I have deleted the code. Do you need the code

    ?> 
    	 <?php echo do_shortcode("[av_layerslider id='3']"); ?>
         <?php 

    inside the template-builder.php??

    Best regards, Daniela

    #515492

    Hey!

    This is expected, the bundled version of LS is meant to be used within Enfold’s ALB, you’d need to rely either in the solution you mentioned here or purchase LS separately and use its native shortcode.

    Best regards,
    Josue

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