18 September 2016 at 02:07 #12905
I installed the plugin in the wp theme Voice https://themeforest.net/item/voice-clean-newsmagazine-wordpress-theme/9646105. It comes with a built in gallery, that I’d like to replace with Responsive Lightbox and Justified Gallery. But in the moment I can’t make it work. There are two issues:
1) When I deactivate the built-in gallery and check “Add lightbox to WordPress image gallery by default” both lightbox overlays get displayed. When I uncheck the option, no overlay gets displayed. Instead of that, I get the normal behaviour without lightbox, a click invokes the media page.
2) When I activate the Justified Gallery plugin, the gallery images get rearranged in a very basic way but no matter what I change in the plugin settings, nothing happens in the frontend. It remains the same.
Please let me know if you need more information or access to my test site.
Alex19 September 2016 at 13:43 #12949
Ok, can we have a look at the live site?19 September 2016 at 16:56 #12957This reply has been marked as private.19 September 2016 at 21:30 #12962
After activating the plugin again, it worked for a view minutes as expected. But when I tried to configure it, it stopped working. It looks kind of brittle to me.20 September 2016 at 09:17 #12967This reply has been marked as private.20 September 2016 at 13:24 #12969
Yes, I traced that, too. Deactivation of AdRotate didn’t do the trick but after switching the theme several times and deactivting all plugins justified gallery started working.
I’m not sure, if that is, what I expected…20 September 2016 at 13:47 #12970
But thanks anyway. You can mark the issue as solved.
Alex20 September 2016 at 14:07 #12971
Ok. Get back to us if anything.25 September 2016 at 16:21 #13084
I traced it down. It seems to be a conflict with SEO Yoast.
After activating SEO Yoast the gallery plugin stops working. In the console I get the following error:
Error in event handler for (unknown): TypeError: Cannot read property ‘shortcutLock’ of undefined
And the gallery plugin stops to render the images properly
* WordPress version: 4.6.1
* Yoast SEO version: 3.5
* Responsive Lightbox: 1.6.9
* Justified Gallery: 1.0.3
SEO Yoast is essential for the site. If the gallery plugin is not compatible to it, that would be a showstopper for me.
If you need access to the test server again, let me know.28 September 2016 at 10:39 #13109
I doubt this is Yoast SEO – we use it here too and all the demos are working.
Do you have any caching / js minify or compress plugins at the site?28 September 2016 at 16:51 #13118
No caching, no minifying.
I changed almost everything. I tried it with different themes like twenty sixteen or twenty fourteen and super-basic ones. I deactivated all plugins (and removed the directories) apart from Responsive Lightbox and Justified Gallery. Everthing worked well. As soon as I activated SEO Yoast, the rendering failed.
After a lot of debugging and tearing my hair, I finally tested the option to load the lightbox code in the footer and that did the trick. Now it’s pretty obvious!
Would have been nice if this hint came from you. :-)
Alex29 September 2016 at 15:18 #13130
Have the same issue. Disable Yoast and the plugin works!6 March 2017 at 21:06 #16279
Yes, I had the same issue as well: Disable Yoast SEO and Justified Gallery works. Enable Yoast SEO and it doesn’t.
However, from reading this thread, I see that changing the “Loading Place” option from “Header” to “Footer” allows Justified Gallery to function even with Yoast SEO enabled.10 August 2017 at 12:43 #19511
I also had this problem for around 2 years and kept blaming the theme. I stopped using justified gallery on my sites because of this issue. Turns out it was Yoast SEO. Thank you Ned for posting the solution – very much appreciated.28 August 2017 at 15:11 #1980716 February 2018 at 07:33 #23456
- You must be logged in to reply to this topic.
How to trigger lightbox display from a link
by Beth Perkins
1 day, 21 hours ago
Remove share button from the lightbox
4 days, 3 hours ago
Page is unable to load Google Maps
4 days, 4 hours ago
insert views counter in a custom place in my product page
4 days, 7 hours ago
Black screen on all website pages
4 days, 9 hours ago
How to configure Masonry Image Gallery Pro like on your Website?
by Holger Mahadeva Shankar
5 days, 4 hours ago
minute read issue
1 week ago
Is there any way to show the counter on post block on main page?
1 week ago
Changing the number of post views
1 week, 1 day ago
The plugin does not work properly on vertical pictures
1 week, 3 days ago