header.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!doctype html>
  2. <!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![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. <title><?php wp_title('', true, 'right'); ?></title>
  10. <meta name="description" content="">
  11. <meta name="author" content="">
  12. <!-- for an explanation see here: http://t.co/dKP3o1e -->
  13. <meta name="HandheldFriendly" content="True">
  14. <meta name="MobileOptimized" content="320">
  15. <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1">
  16. <!-- For less capable mobile browsers
  17. <link rel="stylesheet" media="handheld" href="<?php echo get_template_directory_uri(); ?>/library/css/handheld.css"> -->
  18. <!-- default stylesheet -->
  19. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/default.css">
  20. <!-- icons & favicons -->
  21. <!-- For iPhone 4 -->
  22. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/h/apple-touch-icon.png">
  23. <!-- For iPad 1-->
  24. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/m/apple-touch-icon.png">
  25. <!-- For iPhone 3G, iPod Touch and Android -->
  26. <link rel="apple-touch-icon-precomposed" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/l/apple-touch-icon-precomposed.png">
  27. <!-- For Nokia -->
  28. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/library/images/icons/l/apple-touch-icon.png">
  29. <!-- For everything else -->
  30. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  31. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  32. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
  33. <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>
  34. <script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr-1.7.min.js"></script>
  35. <!-- wordpress head functions -->
  36. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  37. <?php wp_head(); ?>
  38. <!-- stylesheet is called after wp_head so you can overwrite plugin styles if needed -->
  39. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  40. </head>
  41. <body <?php body_class(); ?>>
  42. <div id="container">
  43. <header role="banner">
  44. <div id="inner-header" class="clearfix">
  45. <h1 id="logo"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></h1>
  46. <nav role="navigation">
  47. <?php bones_main_nav(); // Adjust using Menus in Wordpress Admin ?>
  48. </nav>
  49. </div> <!-- end #inner-header -->
  50. </header> <!-- end header -->