Out of the box, this plugin doesn’t work because the placement of where you are just dumping out the variables in a <script> tag is not taking into account where I’ve placed my jQuery enqueue function…
You’re just placing it somewhere in the footer, however the issue is your code is appearing before my call to jQuery (resulting in this not working at all).
Is your plugin not loading based on the jQuery as a dependency?
The page I need help with: [log in to see the link]
- The topic ‘Plugin is not enqueuing JS properly’ is closed to new replies.