header.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!doctype html>
  2. <!--[if IEMobile 7 ]> <html <?php language_attributes(); ?>class="no-js iem7"> <![endif]-->
  3. <!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6 oldie"> <![endif]-->
  4. <!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7 oldie"> <![endif]-->
  5. <!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8 oldie"> <![endif]-->
  6. <!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
  7. <head>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <title><?php
  11. /*
  12. * Print the <title> tag based on what is being viewed.
  13. */
  14. global $page, $paged;
  15. wp_title( '-', true, 'right' );
  16. // Add the blog name.
  17. bloginfo( 'name' );
  18. // Add a page number if necessary:
  19. if ( $paged >= 2 || $page >= 2 )
  20. echo ' - ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
  21. ?></title>
  22. <meta name="description" content="">
  23. <meta name="author" content="">
  24. <!-- mobile optimized -->
  25. <meta name="viewport" content="width=device-width,initial-scale=1">
  26. <!-- IE6 toolbar removal -->
  27. <meta http-equiv="imagetoolbar" content="false" />
  28. <!-- allow pinned sites -->
  29. <meta name="application-name" content="<?php bloginfo('name'); ?>" />
  30. <!-- icons & favicons (for more: http://themble.com/support/adding-icons-favicons/) -->
  31. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  32. <!-- default stylesheet -->
  33. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/normalize.css">
  34. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  35. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  36. <script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/library/js/libs/jquery-1.6.2.min.js"%3E%3C/script%3E'))</script>
  37. <!-- drop Google Analytics Here -->
  38. <!-- modernizr -->
  39. <script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr.full.min.js"></script>
  40. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  41. <!-- wordpress head functions -->
  42. <?php wp_head(); ?>
  43. <!-- end of wordpress head -->
  44. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  45. </head>
  46. <body <?php body_class(); ?>>
  47. <div id="container">
  48. <header role="banner">
  49. <div id="inner-header" class="clearfix">
  50. <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
  51. <nav role="navigation">
  52. <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
  53. </nav>
  54. </div> <!-- end #inner-header -->
  55. </header> <!-- end header -->