i have to install for a customer a facebook feed – so i want to disable the integrated lightbox effect on that page because the plugin comes with its own. Is that possible ?
Hi Guenter!
In header.php, look for:
$av_lightbox= avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox';
Replace it by:
$av_lightbox= avia_get_option('lightbox_active') != "disabled" && !is_page(734) ? 'av-default-lightbox' : 'av-custom-lightbox';
Change 734 by the Page ID of the specific page you want the lightbox disabled.
Best regards,
Josue
Thanks Great this will work but is there a possibility to do it by a hook or have i to make in child theme a header.php?
I wish there would be a hook for this but -currently- there isn’t, so yeah using child theme header.php is the way to go.
Regards,
Josue
Cool, glad to help :)
Regards,
Josue