Calce HTML5 en functions.php | Programar Plus

También podría mantener su header.php limpio e insertar la cuña del archivo functions.php.

// 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');

El shim es permitir que los elementos HTML5 puedan diseñarse a través de CSS en versiones de Internet Explorer anteriores a la 9.