-
AuthorPosts
-
April 14, 2015 at 10:36 am #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 atWhat am I doing wrong?
April 14, 2015 at 3:19 pm #428264Hey 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?
April 16, 2015 at 8:19 am #429389Hey!
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,
IsmaelApril 16, 2015 at 12:19 pm #429545Ah 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?
April 16, 2015 at 1:58 pm #429596Hi!
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!
YigitApril 16, 2015 at 3:21 pm #429648Yes 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!
-
AuthorPosts
- The topic ‘Advanced Layerslider shortcode’ is closed to new replies.
