header.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!doctype html>
  2. <!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
  4. <!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
  5. <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <?php // Google Chrome Frame for IE ?>
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <title><?php wp_title(''); ?></title>
  11. <?php // mobile meta (hooray!) ?>
  12. <meta name="HandheldFriendly" content="True">
  13. <meta name="MobileOptimized" content="320">
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  15. <?php // icons & favicons (for more: http://www.jonathantneal.com/blog/understand-the-favicon/) ?>
  16. <link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/library/images/apple-icon-touch.png">
  17. <link rel="icon" href="<?php echo get_template_directory_uri(); ?>/favicon.png">
  18. <!--[if IE]>
  19. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  20. <![endif]-->
  21. <?php // or, set /favicon.ico for IE10 win ?>
  22. <meta name="msapplication-TileColor" content="#f01d4f">
  23. <meta name="msapplication-TileImage" content="<?php echo get_template_directory_uri(); ?>/library/images/win8-tile-icon.png">
  24. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  25. <?php // wordpress head functions ?>
  26. <?php wp_head(); ?>
  27. <?php // end of wordpress head ?>
  28. <?php // drop Google Analytics Here ?>
  29. <?php // end analytics ?>
  30. </head>
  31. <body <?php body_class(); ?>>
  32. <div id="container">
  33. <header class="header" role="banner">
  34. <div id="inner-header" class="wrap clearfix">
  35. <?php // to use a image just replace the bloginfo('name') with your img src and remove the surrounding <p> ?>
  36. <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
  37. <?php // if you'd like to use the site description you can un-comment it below ?>
  38. <?php // bloginfo('description'); ?>
  39. <nav role="navigation">
  40. <?php bones_main_nav(); ?>
  41. </nav>
  42. </div> <?php // end #inner-header ?>
  43. </header> <?php // end header ?>