Tagged: LayerSlider
Is it possible, by default to have the same layerslider shown on all pages, without manually inserting it on all pages?
Regards,
Chrilles
Hey Chrilles!
Where would you like to have this LS? can you post a link to your website?
Best regards,
Josue
Hi
I just want it in the top of the page – linke on produktiondanmark.dk (frontpage) – below the main menu.
Regards,
Chrilles
Hi!
I don’t know of any way to easily do it automatically unfortunately but if Josue had something in mind I’ll tag him on the topic so he can open it back up and respond.
Regards,
Devin
Hey!
Something like this will work (add it to the theme functions.php file):
function add_custom_ls() {
echo do_shortcode("[layerslider id='6']");
}
add_action('ava_after_main_container', 'add_custom_ls');
But you’d need to use LS as a stand-alone plugin, so the LS shortcodes work:
https://kriesi.at/support/topic/how-to-insert-slide-show-with-layerslider/#post-123960
Cheers!
Josue
Ok, thanks a lot. I will consider to try that :-)
Regards,
Chrilles