WordPress.org

Make WordPress Core

Changeset 13554


Ignore:
Timestamp:
03/02/2010 06:43:22 PM (8 years ago)
Author:
iammattthomas
Message:

Add mobile webkit styles for twentyten. See #12303

Location:
trunk/wp-content/themes/twentyten
Files:
1 added
1 edited

Legend:

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

    r13512 r13554  
    2424    <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
    2525
     26    <?php if( strstr( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) || strstr( $_SERVER['HTTP_USER_AGENT'], 'iPod' ) || strstr( $_SERVER['HTTP_USER_AGENT'], 'iPad' ) ) : ?>
     27        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/mobile-webkit.css" />
     28    <?php endif; ?>
     29   
    2630    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    2731
Note: See TracChangeset for help on using the changeset viewer.