Tagged: Enfold Layer Slider Plugin
-
AuthorPosts
-
March 14, 2024 at 12:06 am #1437182
Hi, I’ve updated from Enfold v4 to the latest (5.6.10).
I was under the impression that updating the theme to the latest version would also update the Layer Slider Plugin? However the plugin remains on version 6.11.1 and says it needs an update – Enfold changelog says it should be on (Layerslider 7.9.7).It looks like I to by a separate license for Layer Slider, but your documentation seems to suggest the update is part of the theme update…
“Selected plugins are bundled with the theme and LayerSlider is one of the plugins you receive with the theme. The bundled plugins get updated with the theme updates, so to update the bundled version of the LayerSlider, you only have to make sure the theme itself up to date.”Thanks for your help
March 14, 2024 at 8:19 am #1437204Hey e16esign,
The bundled version will be updated on theme updates, but it sounds like you are running LayerSlider as a separate plugin? If that is the case, then please uninstall it and use the bundled version which is included in the theme.
Best regards,
RikardMarch 15, 2024 at 12:47 am #1437255Thank you, this has allowed the Layer Slider plugin to update.
I just have one issue, since the update…
The Layerslider was previously added to the website using the php code “layerslider(1); ” in my child functions PHP file to load it on all pages. This isn’t working now and the pages just stay on the Enfold ‘pre-loader’ – when I look at the code through the inspector, there is a WordPress message in the html saying “critical error”.If I add the Layer Slider through the Advanced Layout Builder, it works fine. However this is not suitable as I have the slider on the blog roll and other pages I cannot add through ALB + extremely time consuming.
I have cleared caching, disabled all plugins and troubleshot a lot of settings but cannot get it to work through PHP.
Any help/advice would be greatly appreciated.Thanks in advance
March 15, 2024 at 4:16 pm #1437322Hi,
You could try echoing the shortcode instead, please check this for reference: https://developer.wordpress.org/reference/functions/do_shortcode/
Best regards,
RikardMarch 17, 2024 at 11:07 pm #1437429Thanks Rikard, however that did not work. It did lead me to another search through your support forum and I found the solution.
For anyone else with this issue I found it here: https://kriesi.at/support/topic/how-to-insert-slide-show-with-layerslider/#post-123960Basically, to insert a LayerSlider using php requires the plugin to be copied from the Enfold Parent theme into the WordPress Plugins folder, once activated the php methods below work:
- layerslider(1);
- echo do_shortcode(‘[layerslider id =”1″]’);
Thank you
March 18, 2024 at 11:13 am #1437453 -
AuthorPosts
- The topic ‘Layer Slider Plugin Update’ is closed to new replies.