I’m trying to add a layerslider to the homepage only and it’s not seeming to work. Any help would be appreciated.
I am adding this code
<?php if(is_front_page()) : ?>
<?php layerslider(1) ?>
<?php endif; ?>
to the page.php onto line 18 (right under this line:
do_action( 'ava_after_main_title' );
?>
it completely breaks the site from that point down though. If i just say
<?php if(is_front_page()) : ?>
hi there
<?php endif; ?>
the “hi there” loads exactly where i want it to.
What is going on?
Hi!
In order to use LS outside the Advanced Layout Builder you’d need to purchase it separately (and disable the Enfold one).
Regards,
Josue
why would i have to buy a different version? Your themeforest page says it comes with Layerslider? I’m not sure i understand this…Kind of seems like a bait and switch.
Hello,
I respect your complain but this is how it works right now, the version included with the theme it’s a bundled, modified one, meant to be used with the theme Advanced Layout Builder. Hope you understand, if you have any additional complains feel free to contact Kriesi directly here.
Regards,
Josue