[Plugin: What Would Seth Godin Do] WWSGD assumes jQuery is loaded in header
-
I just updated WWSGD to 2.0.1 and found it broken on my sites. The problem is that the plugin inserts its JS into the page head, while I’m loading all my JS, including jQuery, at the bottom. This causes the initial jQuery call to fail.
This can be fixed by loading your JS via wp_footer() rather than wp_head(). This way it will work regardless of where jQuery is loaded on the page.
Another small request (not a bug but just my OCD talking): It would be nice to see the inline JS minified onto a single line so we don’t get a big block of inline JS in the source. It doesn’t need to be human-readable. Like this: https://pastebin.com/gDY5bcAd
Thanks!
https://www.ads-software.com/extend/plugins/what-would-seth-godin-do/
- The topic ‘[Plugin: What Would Seth Godin Do] WWSGD assumes jQuery is loaded in header’ is closed to new replies.