Tagged: LayerSlider, shortcode, widget area
Hi,
How can I add layerslider by the widget area? I tried to add shortcode in text widget
[layerslider id=”3″]
also php code widget
<?php echo do_shortcode( ‘[layerslider id=”3″]’ ) ?>
and it didn’t work.
Please help me with this. Thanks.
Hi GIEKApl!
Unfortunately bundled version of LayerSlider can be used only fullwidth. If you would like to place it into widgets etc., you are going to need to purchase it as a standalone plugin – http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/1362246
Cheers!
Yigit
OK,
and what about php function? I added to page.php: <?php layerslider(4) ?> and there is some error on front end:
Fatal error: Call to undefined function layerslider() in /home/xxxxxxx/domains/xxxxx/public_html/mediatv/wp-content/themes/enfold-child/page.php on line 13
also I tried with: <?php echo do_shortcode( ‘[layerslider id=”4″]’ ) ?> but there is no slider only display text: [layerslider id=”4″]
Hey!
The layer slider shortcode is disabled by default. You have to purchase a plugin license in order to use the shortcodes again. For now, you need to add the slider using the advance layout builder.
Regards,
Ismael
Hello sorry for hijacking this thread, but i have the same issue:
I have puchased Layerslider as a stand alone plug-in, how to proceed now? Just install it like every plug-in or overwriting the slider in /wp-content/themes/enfold/config-layerslider
Just don’t want to break the site http://www.businessbelgium.be/
Hi!
Please refer to this post and deactivate LayerSlider – http://kriesi.at/documentation/enfold/deactivate-the-layerslider-plugin/ and then install LayerSlider just like any other plugin :)
Cheers!
Yigit