Instagram-Feed plugin conflict
-
Hi Frank,
Sorry to trouble you with this.
So basically my site uses over 50+ plugins, but I have managed to get them all to work nicely with all of their js codes concatenated inside Autoptimize’s .js file.
So the main page just has one internal .js call. However, recently an update of my Instagram-Feed plugin (200k+ active installs) seems to have broke my Facebook like box and like buttons – they basically don’t even display.
I have investigated the differences in the old version 1.46 and new version 1.4.6.1 that broke it, and there is only the following difference in the .js code, with the insertion of 3 lines:
image.images.thumbnail.url = image.images.thumbnail.url.split("?ig_cache_key")[0]; image.images.standard_resolution.url = image.images.standard_resolution.url.split("?ig_cache_key")[0]; image.images.low_resolution.url = image.images.low_resolution.url.split("?ig_cache_key")[0];
Could those 3 lines somehow disrupt the Facebook .js code? As a result of this I have to exclude the relevant instagram-feed js as well as jQuery.js for everything to work properly.
Thanks for any insights that you can offer.
- The topic ‘Instagram-Feed plugin conflict’ is closed to new replies.