Created
December 20, 2014 15:44
-
-
Save flexseth/25921ce079258c1d989b to your computer and use it in GitHub Desktop.
Force Edge Rendering in Chrome & IE on the Genesis Framework
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
// Force IE & Chrome to display content with the most up to date rendering engine | |
add_action( 'genesis_meta', 'fp_force_edge_rendering' ); | |
function fp_force_edge_rendering() { | |
echo '<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment