Просмотр исходного кода

adding new favicon setup to include windows 8 tile support

Eddie Machado 13 лет назад
Родитель
Сommit
95c6a479a3
5 измененных файлов с 35 добавлено и 23 удалено
  1. BIN
      favicon.png
  2. 30 23
      header.php
  3. BIN
      library/images/apple-icon-touch.png
  4. BIN
      library/images/win8-tile-icon.png
  5. 5 0
      library/log.txt

+ 30 - 23
header.php

@@ -1,56 +1,63 @@
-<!doctype html>  
+<!doctype html>
 
 
 <!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
 <!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
 <!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
 <!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
 <!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
 <!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
 <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
 <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
-	
+
 	<head>
 	<head>
 		<meta charset="utf-8">
 		<meta charset="utf-8">
-		
+
 		<title><?php wp_title(''); ?></title>
 		<title><?php wp_title(''); ?></title>
-		
+
 		<!-- Google Chrome Frame for IE -->
 		<!-- Google Chrome Frame for IE -->
 		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-		
+
 		<!-- mobile meta (hooray!) -->
 		<!-- mobile meta (hooray!) -->
 		<meta name="HandheldFriendly" content="True">
 		<meta name="HandheldFriendly" content="True">
 		<meta name="MobileOptimized" content="320">
 		<meta name="MobileOptimized" content="320">
 		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
 		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-		
-		<!-- icons & favicons (for more: http://themble.com/support/adding-icons-favicons/) -->
-		<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
-				
-  		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
-		
+
+		<!-- icons & favicons (for more: http://www.jonathantneal.com/blog/understand-the-favicon/) -->
+		<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/library/images/apple-icon-touch.png">
+		<link rel="icon" href="<?php echo get_template_directory_uri(); ?>/favicon.png">
+		<!--[if IE]>
+			<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
+		<![endif]-->
+		<!-- or, set /favicon.ico for IE10 win -->
+		<meta name="msapplication-TileColor" content="#f01d4f">
+		<meta name="msapplication-TileImage" content="<?php echo get_template_directory_uri(); ?>/library/images/win8-tile-icon.png">
+
+  	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
+
 		<!-- wordpress head functions -->
 		<!-- wordpress head functions -->
 		<?php wp_head(); ?>
 		<?php wp_head(); ?>
 		<!-- end of wordpress head -->
 		<!-- end of wordpress head -->
-			
+
 		<!-- drop Google Analytics Here -->
 		<!-- drop Google Analytics Here -->
 		<!-- end analytics -->
 		<!-- end analytics -->
-		
+
 	</head>
 	</head>
-	
+
 	<body <?php body_class(); ?>>
 	<body <?php body_class(); ?>>
-	
+
 		<div id="container">
 		<div id="container">
-			
+
 			<header class="header" role="banner">
 			<header class="header" role="banner">
-			
+
 				<div id="inner-header" class="wrap clearfix">
 				<div id="inner-header" class="wrap clearfix">
-					
+
 					<!-- to use a image just replace the bloginfo('name') with your img src and remove the surrounding <p> -->
 					<!-- to use a image just replace the bloginfo('name') with your img src and remove the surrounding <p> -->
 					<p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
 					<p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
-					
+
 					<!-- if you'd like to use the site description you can un-comment it below -->
 					<!-- if you'd like to use the site description you can un-comment it below -->
 					<?php // bloginfo('description'); ?>
 					<?php // bloginfo('description'); ?>
-					
-					
+
+
 					<nav role="navigation">
 					<nav role="navigation">
 						<?php bones_main_nav(); ?>
 						<?php bones_main_nav(); ?>
 					</nav>
 					</nav>
-				
+
 				</div> <!-- end #inner-header -->
 				</div> <!-- end #inner-header -->
-			
+
 			</header> <!-- end header -->
 			</header> <!-- end header -->

BIN
library/images/apple-icon-touch.png


BIN
library/images/win8-tile-icon.png


+ 5 - 0
library/log.txt

@@ -12,6 +12,11 @@ Author: Eddie Machado
 BONES CHANGE LOG & HISTORY
 BONES CHANGE LOG & HISTORY
 ******************************************************************/
 ******************************************************************/
 
 
+/* 1.4 update */
+- updated Modernizr to 2.6.2
+- merged a ton of pull requests (thanks guys and gals!)
+- added windows 8 tile support
+
 /* v1.3 update */
 /* v1.3 update */
 - removed version number from scripts & styles (thanks James)
 - removed version number from scripts & styles (thanks James)
 - removed LESS (it's over Johnny, It's OVER!)
 - removed LESS (it's over Johnny, It's OVER!)