Glad to help:
1) “I did as you suggested and removed the link from the targeted loading box, cleared the cache and it still did not work.”
The only reason the JavaScript would not be loading is because of some other plugin (or maybe the theme, but not likely) is interfering. In order to resolve the issue, you will need to do some basic troubleshooting. While testing plugins, make sure to leave the “Targeted Loading” setting blank, as it helps to eliminate confounding variables.
2) “As far as “a lot of Java errors” I’d like to know what you scanned with so I could try.”
“Java” is something entirely different than “JavaScript”, but I know understand what you are saying. To find JavaScript errors on any web page that I visit, I use a browser extension called “javascript-errors-notifier”, available on GitHub.
3) “The plugin did work at one time for multiple images so I know it’s something at my end but I’m really at my wits end trying to find it!”
Yep, the plugin still works great, but something (like a plugin or setting) changed on the site, and now there is a conflict. As per #1 above, you will need to do some troubleshooting to determine the cause of the issue.
4) “The cache plugin I use is WP Supercache and the performance plugin you mentioned is Above the Fold Optimization. Are there any known conflicts between those and USP?”
No there are no known conflicts with any plugin that is written according to the WP API. One of the reasons, however, that I mentioned/emphasized “cache plugins” in my previous reply is that they are known to cause all sorts of issues with “live” page elements, like stat counters, social media stuff, contact forms, and etc.
5) “Also, is it possible for you to post or email me the script and I will manually add it myself?”
Yes, you can manually add the USP scripts, they are located at:
/resources/jquery.usp.core.js
/resources/jquery.usp.files.js
Also I should mention that, if you are unable to troubleshoot other plugins on a “live” production site, another great approach is to set up a quick 5-minute WordPress, leave everything at the default settings/plugins/theme, and then install and test USP fresh. Then after verifying proper functionality, you can begin adding your other plugins, one at a time, testing after each, to determine which one is breaking things.
I hope this helps, let me know if I can provide any further infos.
-
This reply was modified 7 years, 6 months ago by
Jeff Starr. Reason: missing word