1. <?php
  2. /**
  3. * Theme Header
  4. *
  5. * Outputs <head> and header content (logo, tagline, navigation)
  6. */
  7.  
  8. ?><!DOCTYPE html>
  9. <!--[if IE 8 ]><html class="ie ie8 no-js" <?php language_attributes(); ?>> <![endif]-->
  10. <!--[if (gte IE 9)|!(IE)]><!--><html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  11. <head>
  12. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  13. <!--[if lte IE 8]><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8" /><![endif]-->
  14. <title><?php wp_title( '' ); // wp_title is filtered by includes/customizations.php risen_title() ?></title>
  15. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  16. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  17. <?php wp_head(); // prints out JavaScript, CSS, etc. as needed by WordPress, theme, plugins, etc. ?>
  18. </head>
  19.  
  20. <body <?php body_class(); ?>>
  21.  
  22. <!-- Container Start -->
  23.  
  24. <div id="container">
  25.  
  26. <div id="container-inner">
  27.  
  28. <!-- Header Start -->
  29.  
  30. <header id="header">
  31.  
  32. <div id="header-content">
  33.  
  34. <div id="logo"<?php if ( risen_option( 'logo_no_left_padding') ) : ?> class="logo-no-left-padding"<?php endif; ?>>
  35. <a href="<?php echo esc_url( home_url() ); ?>"><img src="<?php echo esc_url( risen_logo_url() ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"></a>
  36. </div>
  37.  
  38. <div id="top-right">
  39.  
  40. <div id="top-right-inner">
  41.  
  42. <div id="top-right-content">
  43.  
  44. <div id="tagline">
  45. <?php bloginfo( 'description' ); ?>
  46. </div>
  47.  
  48. </div>
  49.  
  50. </div>
  51.  
  52. </div>
  53.  
  54. </div>
  55.  
  56. <!-- Menu Start -->
  57.  
  58. <nav id="header-menu">
  59.  
  60. <div id="header-menu-inner">
  61.  
  62. <?php
  63. wp_nav_menu( array(
  64. 'theme_location' => 'header',
  65. 'menu_id' => 'header-menu-links',
  66. 'menu_class' => 'sf-menu',
  67. 'container' => false, // don't wrap in div
  68. 'fallback_cb' => false // don't show pages if no menu found - show nothing
  69. ) );
  70. ?>
  71.  
  72. <?php risen_icons( 'header', 'light-icon' ); ?>
  73.  
  74. <div class="clear"></div>
  75.  
  76. </div>
  77.  
  78. <div id="header-menu-bottom"></div>
  79.  
  80. </nav>
  81.  
  82. <!-- Menu End -->
  83.  
  84. </header>
  85.  
  86. <!-- Header End -->