If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to disable Lightbox on the images on my pages but keep the hover animation. How can I do that? I’ve read through some threads and added some custom CSS but haven’t been able to completely remove. I’m specifically trying to get a gallery to work with Ubergrid but it appears the image is opening twice – once in the site lightbox and once in the Ubergrid lightbox. Thanks for your help!
You can disable it globally in functions.php, open it and go to the line 219:
wp_enqueue_script( 'avia-prettyPhoto' );
Replace it with this:
//wp_enqueue_script( 'avia-prettyPhoto' );
The topic ‘Disable Lightbox’ is closed to new replies.