Dear Supporters
I have a problem with the embeeded Layerslider WP-Plugin. I want to implement the Slider in the header of every page, but it don’t work as expected.
It won’t work, if i just insert the code direct in the header. If i have another layerslider in the content of the page as an avia-layout-architecture implemented, it work fine (but there are still some graphical errors).
All these solutions did not work:
<?php layerslider(1) ?>
<?php do_shortcode([layerslider id="1"]) ?>
And also create a function in functions.php and insert in the header like this don’t work:
add_action('ava_after_main_menu', 'functionname')
Is there a better solution without creating an 2nd layerslide which is hidden?
I am using the current WP-Version 4.0 and the enfold-theme is up to date.
Thanks so far!
Does anyone have a idea yet?
Hi!
The bundled version of LayerSlider is meant to be used within the Enfold Layout Builder, if you want to use it via shortcode or PHP function you’d need to purchase LayerSlider as a standalone plugin and disable the Enfold one afterwards.
Best regards,
Josue