I need to know how to disable theme lightbox for the gallery images.
We are using custom gallery plugin to display the images. Your lightbox over writing the code. Please help me fix this issue.
Original site:
https://goo.gl/9Ss2Ki
Test site:
https://goo.gl/Y0JTv1
I follow this instruction, http://www.screencast.com/t/z9Aa3oPbw5r. But I still see the lightbox.
If it is not possible to disable only for gallery plugin, how to completely disable it?
Hi,
The lightbox cannot be removed for a particular plugin, sorry. It can be removed from individual images if you do not have this option set to on: http://screencast.com/t/SEk1AI2hw
Then if you have access to the image setting in wordpress, you can deactivate the modal image from the particular photo: http://screencast.com/t/PMR22Np7WA
Unfortunately I cannot say for sure about your plugin as we have not tested it.
Thank you!
You can disable the lightbox by disabling the general modal image but unfortunately there is no simple way of removing the lightbox accross the whole site. galleries and smart lists will still use it.
If you want to remove it for all elements, then yopu will have to find all instances of the magnific popup functions in the theme js file like so: http://screencast.com/t/iamVcHLE9W8m This is the one for galleries but there is a similar one for articles, for smartlists etc.
I hope this helps.
I tried removing the code for the galleries as per your instruction but I still see the lightbox.
I understand this is hard for you, but every other theme has the option to disable the theme’s lightbox.
Since the Newspaper theme is the No.1 theme, I just bought the theme assuming that it will have the option too.
Gallery is very important for our site. So please help me disable the lightbox.
You have to disable all instances of the lightbox. If you only removed the example I provided above, it will not work. There are more instances you have to search in the same file. use a text editor such a notepad++ and search for the other instances. I cannot do it for you unfortunately as we do not have a customization department.
Thank you!