I noticed that wBounce is added to wp_footer() with highest priority called ‘0’. Since I moved all scripts to the footer the plugin wBounce doesn’t work anymore because it is loading before jQuery.
When changing the priority in class-frontend.php from 0 to 20 everything works fine, e.g.:
good point.
However, for the included script jQuery is set as dependency so I would assume the order should be fine (because WordPress should automatically load jQuery before wBounce). Are you including jQuery “the WordPress way” using “wp_enqueue_script( ‘jquery’ )”?
If yes, I’ll take a closer look and change the priority like you suggested.
Best,
Kevin
Viewing 1 replies (of 1 total)
The topic ‘wBounce loading before jQuery’ is closed to new replies.