Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26697

    Hi,

    I wanted to use the layerslider shortcode in my archive templates and I found the following solutions which advised the poster to pull the layerslider folder out and use it as a plugin, and comment out the include in the functions file.

    https://kriesi.at/support/topic/how-to-insert-slide-show-with-layerslider#post-118722

    https://kriesi.at/support/topic/how-i-can-integrate-a-layerslider-in-the-custom-template-archive-php-code

    However, when I did this the Layout Builder stopped working. When I create a new page, the editor doesn’t load all the way, and clicking on the advanced layout builder button does nothing. On pages that already use the Layout builder the loading icon in the editor continuously spins.

    Is there something I’m missing, or a different way to enable the use of the layerslider in archive templates?

    #131292

    Hi ravecomputer

    Just for clarification, if you pull the layer slider out of the theme like that you lose its functionality from within the theme. From Kriesi:

    If you really want to use the slider without the template builder open the config-layerslider folder in your enfold theme folder. you will see the "LayerSlider" folder inside which is the actual layerslider wordpress plugin.

    So when you do this, you lose its ability to be used within the advanced layout editor.

    Regards,

    Devin

    #131293

    So how would one insert the slider into templates as well as use it in the layout builder?

    #131294

    As far as I know there isn’t at the moment.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Layerslider Shortcode in Templates’ is closed to new replies.