Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #187196

    Hi,
    I have seen the previous discussion where you guys say that the [layerslider] shortcode is disabled so will not render if we add it to a text editor block in Avia. It leaves us unable to do a 100% height Slider that is also a hot topic on another closed topic on your forum. In order to do so we would need to output a <div class=”a_custom_style_to_set_100_percent_height”>[layerslider]</div>. This can only be done by hacking the theme which we can do, but would love to avoid. Would you guys be interested in finding a way not to disable the standard [layerslider] shortcode.
    Cheers
    Stuart

    #187266

    Hi cxThemes!

    You can install the Layer Slider as a standalone plugin. The shortcode will work then. Edit functions.php, find this code:

    if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin

    Replace it with:

    //if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin

    This will disable the default LayerSlider from the theme. You can now install the plugin separately.

    Regards,
    Ismael

    #187276

    Super. Thanks for the speedy reply. I will give that a try and should be good to go :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘[layerslider] shortocode disabled’ is closed to new replies.