header.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. <!-- icons & favicons (for more: http://themble.com/support/adding-icons-favicons/) -->
  25. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  26. <!-- default stylesheet -->
  27. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/normalize.css">
  28. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  29. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  30. <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>
  31. <!-- drop Google Analytics Here -->
  32. <!-- modernizr -->
  33. <script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr.full.min.js"></script>
  34. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  35. <!-- wordpress head functions -->
  36. <?php wp_head(); ?>
  37. <!-- end of wordpress head -->
  38. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  39. </head>
  40. <body <?php body_class(); ?>>
  41. <div id="container">
  42. <header role="banner">
  43. <div id="inner-header" class="clearfix">
  44. <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
  45. <nav role="navigation">
  46. <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
  47. </nav>
  48. </div> <!-- end #inner-header -->
  49. </header> <!-- end header -->