Return to Snippet

Revision: 37583
at December 13, 2010 06:36 by mb2o


Initial Code
// add ie conditional html5 shim to header
function add_ie_html5_shim () {    
   echo '<!--[if lt IE 9]>';    
   echo '<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>';    
   echo '<![endif]-->';
}
add_action('wp_head', 'add_ie_html5_shim');

Initial URL
http://css-tricks.com/snippets/wordpress/html5-shim-in-functions-php/

Initial Description

                                

Initial Title
HTML5 Shim in functions.php

Initial Tags
wordpress

Initial Language
PHP