Created
January 15, 2014 20:55
-
-
Save jbutko/8444466 to your computer and use it in GitHub Desktop.
WP, functions.php: Enqueue scripts for only if LT IE 9
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
add_action( 'wp_head', function() { | |
echo '<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->'; | |
} ); | |
//From http://stackoverflow.com/questions/11564142/wordpress-enqueue-scripts-for-only-if-lt-ie-9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment