Why does wp_enqueue_script ignore my ‘wp_head’ hook?
You problem lies with how you are using wp_enqueue_script(). It does not print out the <script src=””></script>, instead it adds it to a list of Javascript files to printed out at the appropriate time. There is a different hook that is called for when you should add your Javascript and CSS: wp_enqueue_scripts (you use it … Read more