header.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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"> <![endif]-->
  4. <!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
  5. <!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![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 wp_title('', true, 'right'); ?></title>
  11. <meta name="description" content="">
  12. <meta name="author" content="">
  13. <!-- default stylesheet -->
  14. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/default.css">
  15. <!-- icons & favicons -->
  16. <!-- For iPhone 4 -->
  17. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/h/apple-touch-icon.png">
  18. <!-- For iPad 1-->
  19. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/m/apple-touch-icon.png">
  20. <!-- For iPhone 3G, iPod Touch and Android -->
  21. <link rel="apple-touch-icon-precomposed" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/l/apple-touch-icon-precomposed.png">
  22. <!-- For Nokia -->
  23. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/l/apple-touch-icon.png">
  24. <!-- For everything else -->
  25. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  26. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  27. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  28. <script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/library/js/libs/jquery-1.6.1.min.js"%3E%3C/script%3E'))</script>
  29. <script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr-2.0.min.js"></script>
  30. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  31. <!-- wordpress head functions -->
  32. <?php wp_head(); ?>
  33. <!-- end of wordpress head -->
  34. <!-- stylesheet is called after wp_head so you can overwrite plugin styles if needed -->
  35. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  36. </head>
  37. <body <?php body_class(); ?>>
  38. <div id="container">
  39. <header role="banner">
  40. <div id="inner-header" class="clearfix">
  41. <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
  42. <nav role="navigation">
  43. <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
  44. </nav>
  45. </div> <!-- end #inner-header -->
  46. </header> <!-- end header -->