Tagged: LayerSlider, sidebar
Hi, I am trying to use a layerslider in my sidebar of an up-to-date version of enfold.
I have added the shortcode for the slider in the sidebar, on pages which have a layerslider within the content of the page, the slider show fine, as soon as you are on a page where the layerslider is not being called into the content, it just shows the shortcode.
I thought I may be able to get around this by adding the php code instead (eg: <?php layerslider(10) ?> ) into a modified sidebar.php in my child theme, this gives the same reult as the shortcode method except it gives me a :
Fatal error: Call to undefined function layerslider() in …
I am guessing from this that enfold is only loading the layerslider function if it is present in the content of the page. Is there a way this can be extended to include the sidebars too?
This slideshow in the sidebar is going to be present pretty much throughout my site so ideally, I need it to be called into every page.
Thanks!
Dann
bump
Hi!
I don’t think it is possible, as it is only available as full width element. Feel free to make a feature request.
Best regards,
Andy