Widget Script Loads at Bottom of Page
That’s expected behaviour, since you’re calling wp_enqueue_script mid-page, so at that point the <head> ship has sailed, and the only other option is to enqueue in the footer, which is fine. I didn’t spend too much time reading the actual script that you’re enqueuing, but it seems like it it’s doing some document.write() as soon … Read more