Tagged: LayerSlider
Hi there,
Can the supplied layer slider be removed from the theme – I would like to install it as a (purchased) plugin so it can be used via shortcode in other areas of the site.
Thanks, Silvio
Hey Silvio!
Put this in functions.php:
add_theme_support (‘deactivate_layerslider’);
And activate the LayserSlider standalone plugin.
Regards,
Josue
This did not work – I get this error message when I try to activate the Layer Slider plugin:
Fatal error: Cannot redeclare layerslider_load_lang() (previously declared in /home/kingbeer/public_html/wp-content/themes/KING-BEER-THEME/config-layerslider/LayerSlider/layerslider.php:118) in /home/kingbeer/public_html/wp-content/plugins/LayerSlider/layerslider.php on line 78
Hi!
Please use this instead:
add_theme_support ('deactivate_layerslider');
Add it at the very bottom of functions.php.
Cheers!
Ismael
Sorry but that completely crashed the site. I’ve installed revolution slider instead, this seems to work fine. Thanks for your help.