header.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!doctype html>
  2. <!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
  4. <!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
  5. <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <title><?php wp_title(''); ?></title>
  9. <!-- Google Chrome Frame for IE -->
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  11. <!-- mobile meta (hooray!) -->
  12. <meta name="HandheldFriendly" content="True">
  13. <meta name="MobileOptimized" content="320">
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  15. <!-- icons & favicons (for more: http://themble.com/support/adding-icons-favicons/) -->
  16. <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
  17. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  18. <!-- wordpress head functions -->
  19. <?php wp_head(); ?>
  20. <!-- end of wordpress head -->
  21. <!-- drop Google Analytics Here -->
  22. <!-- end analytics -->
  23. </head>
  24. <body <?php body_class(); ?>>
  25. <div id="container">
  26. <header class="header" role="banner">
  27. <div id="inner-header" class="wrap clearfix">
  28. <!-- to use a image just replace the bloginfo('name') with your img src and remove the surrounding <p> -->
  29. <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
  30. <!-- if you'd like to use the site description you can un-comment it below -->
  31. <?php // bloginfo('description'); ?>
  32. <nav role="navigation">
  33. <?php bones_main_nav(); ?>
  34. </nav>
  35. </div> <!-- end #inner-header -->
  36. </header> <!-- end header -->