jQuery does not enqueue for my purpose… (before an inline script in the footer)

Following How to add a javascript snippet to the footer that requires jQuery
I am trying to load jQuery before my script does stuff but it’s not working.

This is it working when I include jQuery manually

Read More

This is it not working when I do it the right way.

In that previous question, the answerer says I should put my script material inside an if( wp_script_is( 'jquery', 'done' ) ) {, and I tried that too but the part within the if never gets executed.

Related posts