-
-
Save lizardking8610/ab3efe8173c3fcec293e40b28a7d82b8 to your computer and use it in GitHub Desktop.
Enqueue Modernizr before all other scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function basey_scripts_header() { | |
| wp_enqueue_script('modernizr', get_template_directory_uri() . '/js/modernizr.foundation.js', '', null, false); | |
| } | |
| add_action('template_redirect','basey_scripts_header', 8); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment