The jquery version I’m using is 3.2.1
Hi – i had a look at your page.
The foogallery js is not loading into your page.
Probably unrelated, but I also notice jQuery 1.12.4 is loading in the page, and you mention 3.2.1 – where did you get that version number?
I think let’s first determine which plugin is causing the conflict. I guess it is either autoptimize or WP Supercache. Please disable them both and see if the gallery loads. IF it does, then activate autoptimize and test the gallery loads. If so then we know its WP SuperCache, if not then its autoptomize.
Then we can move forward with settings for that particular plugin
pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.
if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.
hope this helps debugging,
frank (ao dev)
Thank you for your response Brad. You are correct the JQuery I am loading is 1.12.4. I developed the theme in bootstrap using jquery 3.2.1 and converted the site to wp using underscores. Sorry about the confusion I caused.
I’ve disabled both autooptimize and wp supercache without any change. I cleared my browser cache and refreshed the page.
I am loading the gallery from the page template using:
<?php
echo do_shortcode(‘[foogallery id=”381″]’);
?>
If I create a new gallery and add it to a new page in the wysiwyg box, the error message Not used does not appear. Just the success dot and it previews from the wp dashboard correctly, though I haven’t tried it live.
I upgraded from an old version just yesterday because foobox stopped working and I was hoping it would fix the problem.
Thank you Frank, this is driving me to distraction.
Brad, I just tried the new test page I created live and it is all working with autooptimize and wp supercache still disabled. This is really weird, it’s almost like foogallery isn’t recognizing my old pages.
I’m using ACF for some elements on the pages (not on the test page just straight wysiswyg). Do you think it might be related to that?
Oh, good grief, I figured it out. Definitely a ID10T error. I added a custom plugin to allow pagination to the old version of foogallery that I loaded using php in the page templates. I removed the code and my gallery loaded. Then I had to edit each gallery to set up foobox correctly and delete the cached thumbnails and update.
All working now! Thank you so much, you both really helped narrow down the problem for me. My client actually will get their update by the end of today.