header.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!doctype html>
  2. <!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
  3. <!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
  4. <!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
  5. <!--[if IE 9 ]> <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
  6. <!--[if (gt IE 9)|!(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('&laquo;', true, 'right'); ?></title>
  11. <meta name="description" content="">
  12. <meta name="author" content="">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <!-- icons & favicons -->
  15. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  16. <link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/library/images/apple-touch-icon.png">
  17. <!-- default stylesheet -->
  18. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/default.css">
  19. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  20. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
  21. <script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/library/js/libs/jquery-1.5.1.min.js"%3E%3C/script%3E'))</script>
  22. <script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr.js"></script>
  23. <!-- wordpress head functions -->
  24. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  25. <?php wp_head(); ?>
  26. <!-- stylesheet is called after wp_head so you can overwrite plugin styles if needed -->
  27. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  28. </head>
  29. <body <?php body_class(); ?>>
  30. <div id="container">
  31. <header role="banner">
  32. <div id="inner-header" class="clear">
  33. <h1 id="logo"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></h1>
  34. <nav role="navigation">
  35. <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
  36. </nav>
  37. </div> <!-- end #inner-header -->
  38. </header> <!-- end header -->