header.php 2.1 KB

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