Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #428105

    Hi quick question

    Can I insert the advanced layerslider via a short code?

    I just attempted to do via this in the template file of my home page

    <?php echo do_shortcode(“[layerslider id=\”9\”]”); ?>

    I can see in the source code this is rendered but nothing else? No slide show is shown.. Just the short code [layerslider id=’9′] on line 189
    is showing in the source code at

    http://www.codecreative.uk

    What am I doing wrong?

    #428264

    Hey i’ve noticed this in other threads

    There is an issue from what I can see using the layer slider short code. It seems we must use the page builder as well?

    What I have done is added a code block to the bottom of the page and dropped in the shortcode. It renders in its original place but now shows a small error in the bottom of the page

    Can you advise how to correctly call the layerslider from within the php?

    #429389

    Hey!

    Thank you for using Enfold.

    The layer slider shortcode is disabled. You need to install the layer slider as a stand alone plugin if you want to use the layer slider shortcode again. Add this to the functions.php file to deactivate the default layer slider:

    add_theme_support('deactivate_layerslider');
    

    Regards,
    Ismael

    #429545

    Ah thank you

    So once I add the above to the child theme I am then able to install the plugin as a stand alone?

    Also how it currently looks is okay at http://www.codecreative.uk

    Can you tell me how I can hide the the code block div showing above my footer?

    #429596

    Hi!

    Yes, exactly.
    Have you figured it out already? I cannot see extra div above footer. If you have not, please post a screenshot and show it :)

    Cheers!
    Yigit

    #429648

    Yes I figured it out. I used the enfold feature to turn on custom css class names and use css display hidden to hide the bottom div. I did it all without the need for installing the layer slider separate. So this serves as a decent work around!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Advanced Layerslider shortcode’ is closed to new replies.