mirror of
https://github.com/kennethreitz/wordpress-theme-skeleton.git
synced 2026-06-05 23:20:18 +00:00
header syntax bugfix. sorry about that.
This commit is contained in:
+4
-4
@@ -17,8 +17,8 @@
|
||||
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery.browser.addEnvClass.js"></script>
|
||||
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery.hilightnav.js"></script>
|
||||
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/init.js"></script>
|
||||
|
||||
<?php if (ereg('iPhone',$_SERVER['HTTP_USER_AGENT']) || ereg('iPod',$_SERVER['HTTP_USER_AGENT']) || ereg('iPad',$_SERVER['HTTP_USER_AGENT'])): ?>
|
||||
|
||||
<?php if (ereg('iPhone', $_SERVER['HTTP_USER_AGENT']) || ereg('iPod', $_SERVER['HTTP_USER_AGENT']) || ereg('iPad',$_SERVER['HTTP_USER_AGENT'])): ?>
|
||||
|
||||
<meta name="viewport" content="initial-scale=1.0">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
@@ -26,12 +26,12 @@
|
||||
<meta name="apple-touch-fullscreen" content="yes" />
|
||||
<link rel="apple-touch-icon" href="<?php bloginfo('template_url'); ?>/img/apple-touch-icon.png" />
|
||||
|
||||
<?php if ereg('iPad',$_SERVER['HTTP_USER_AGENT']): ?>
|
||||
<?php if (ereg('iPad', $_SERVER['HTTP_USER_AGENT'])): ?>
|
||||
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ipad.css" />
|
||||
<?php else: ?>
|
||||
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/iphone.css" />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php elseif (): ?>
|
||||
<?php else: ?>
|
||||
<meta name="viewport" content="width=960" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user