Skip to content

Instantly share code, notes, and snippets.

@flexseth
Created December 20, 2014 15:44
Show Gist options
  • Save flexseth/25921ce079258c1d989b to your computer and use it in GitHub Desktop.
Save flexseth/25921ce079258c1d989b to your computer and use it in GitHub Desktop.
Force Edge Rendering in Chrome & IE on the Genesis Framework
// 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