<?php
/**
 * WP Theme Header
 *
 * Displays all of the <head> section
 *
 * @package Inspiredise
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php bloginfo('name'); ?> <?php is_home() ? bloginfo('description') : wp_title( '|', true, 'left' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>

<body data-spy="scroll" data-target=".navbar" data-offset="150" <?php echo body_class(); ?>>
  <!-- Preloader -->
  <div class="mask"><div id="preloader"></div></div>
  <!--/Preloader -->
  <?php do_action( 'before' ); ?>  
  <div id="navbar" class="navbar navbar-fixed-top clearfix">
    <div class="navbar-inner">
      <div class="container"> <a class="brand" href="<?php echo site_url(); ?>"><img src="<?php echo get_header_image(); ?>" alt=""></a> 
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <div class="pull-left"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </div>
        <span class="title"><?php _e( 'Menu', 'inspiredise' ); ?></span> </a>
        <?php
          wp_nav_menu(array(
            'theme_location'  => 'primary',
            'container_class' => 'nav-collapse collapse',
            'menu_class'      => 'nav',
            'walker'          => new description_walker
            ));
        ?>
      </div>
    </div>
  </div>
  