WOW.js Script Tag Initialization Header/Footer

The theme should enqueue styles and scripts on the wp_enqueue_scripts hook, per Codex recommendations. function theme_enqueue_scripts() // register wow.js & animate.css wp_enqueue_style( ‘animate-stylesheet’, get_stylesheet_directory_uri() . ‘/library/css/animate.css’, array(), ”, ‘all’ ); wp_enqueue_script( ‘wow-js’, get_stylesheet_directory_uri() . ‘/library/js/vendor/wow.min.js’, array(), ”, ‘all’ ); } add_action(‘wp_enqueue_scripts’, ‘theme_enqueue_scripts’ ); Then your initization script can be added to the wp_head hook. function … Read more

jQuery + more won’t load in header

WordPress’s wp_register_script has an $in_footer parameter which allows you to state if the script should be written to wp_head or wp_footer. By default the value is false (don’t show in footer), but you could try it yourself. Replace your wp_register_script with this: wp_register_script( ‘jquery’, ‘//ajax.googleapis.com/ajax/libs/jquery/’. $jquery_ver .’/jquery.min.js’, ”, ”, false );