Last active
August 29, 2015 13:56
-
-
Save nciske/9202505 to your computer and use it in GitHub Desktop.
Force IE 8 to not suck quite so much
This file contains 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
<?php | |
// Tell IE to display content in the highest mode available | |
add_action( 'genesis_meta', 'force_ie_display_mode', 1 ); | |
function force_ie_display_mode() { | |
echo '<meta http-equiv="X-UA-Compatible" content="IE=edge">'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: http://stackoverflow.com/a/6771584