sure; wp-content/plugins/<insert-culprit-plugin-directory-here>/
should do the trick.
hope this helps,
frank
Thanks. Although I’m confused. Put that where?
On the Autoptimize settings screen, making sure “advanced settings” are visible, in the “exclude from JS optimization” comma-separated input field.
Ok cool. I didn’t realize I could list it that way.
That didn’t seem to work.
Here is a screenshot of how I put it in settings:
http://staging-igotmyrefund.kinsta.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-15-at-2.28.55-AM.png
-
This reply was modified 6 years, 11 months ago by jemar707.
well;
1. are you sure the directory name indeed is wpdatatables
?
2. when looking at the HTML source, do you see the JS being excluded? if not, do you have a page cache to clear maybe?
3. if the JS is being excluded, what JS error do you see on your browser’s console?
Confirmed directory name is wpdatatables, cleared server and local cache.
I have no idea what I am looking for in the HTML source to see what is being excluded. The particular plugin has a ton of .js files, that’s why I hoped to block the entire directory. There are ~15 js errors, but I honestly driving blind when it comes to inspecting js errors.
Could you lend an eye?
http://staging-igotmyrefund.kinsta.com/archivedcomments/2017-archived-discussion/
What’s happening is that a search box presumably being loaded by js should be appearing above the table.
OK, had a look, almost all errors complain of jQuery not being available, so you’ll have to re-add js/jquery/jquery.js
to the JS optimization exclusions.
Worked beautifully! Thank you so much for the help!
you’re welcome, feel free to leave a raving review here! 😉