Make WordPress Core


Ignore:
Timestamp:
11/12/2013 04:17:07 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/header.php

    r25980 r26097  
    1010 */
    1111?><!DOCTYPE html>
     12<!--[if IE 7]>
     13<html class="ie ie7" <?php language_attributes(); ?> class="no-js">
     14<![endif]-->
     15<!--[if IE 8]>
     16<html class="ie ie8" <?php language_attributes(); ?> class="no-js">
     17<![endif]-->
     18<!--[if !(IE 7) | !(IE 8)  ]><!-->
    1219<html <?php language_attributes(); ?> class="no-js">
     20<!--<![endif]-->
    1321<head>
    14 <meta charset="<?php bloginfo( 'charset' ); ?>" />
    15 <meta name="viewport" content="width=device-width" />
    16 <title><?php wp_title( '|', true, 'right' ); ?></title>
    17 <link rel="profile" href="http://gmpg.org/xfn/11" />
    18 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    19 <!--[if lt IE 9]>
    20 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    21 <![endif]-->
    22 
    23 <?php wp_head(); ?>
     22    <meta charset="<?php bloginfo( 'charset' ); ?>" />
     23    <meta name="viewport" content="width=device-width" />
     24    <title><?php wp_title( '|', true, 'right' ); ?></title>
     25    <link rel="profile" href="http://gmpg.org/xfn/11" />
     26    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
     27    <!--[if lt IE 9]>
     28    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
     29    <![endif]-->
     30    <?php wp_head(); ?>
    2431</head>
    2532
Note: See TracChangeset for help on using the changeset viewer.