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.
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?
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.
So how would one insert the slider into templates as well as use it in the layout builder?
The topic ‘Layerslider Shortcode in Templates’ is closed to new replies.