<?php global $themesbazar; ?>

<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://themesbazar.com">
<title><?php wp_title('');  ?></title>  
      
      
<link rel="icon" href="<?php echo $themesbazar['favicon']['url']?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $themesbazar['favicon']['url']?>" type="image/x-icon" />   


<?php
if (is_front_page() && is_home()){ ?>


<meta property="og:title" content="<?php wp_title('');  ?>" /> 
<meta property="og:description" content="" />  
<meta property="og:image" content="<?php echo $themesbazar['logo_upload']['url']; ?>" /> 
<meta property="og:video" content="" /> 
<meta property="og:image:width" content="620" />  
<meta property="og:image:height" content="200" />  
<meta property="og:video:type" content="application/x-shockwave-flash" />


    
<?php }; if (is_single()){ ?>


 <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-thumbnail' ); ?>
<meta property="og:title" content="<?php the_title(); ?>" /> 
<meta property="og:description" content="" />  
<meta property="og:image" content="<?php echo $image[0]; ?>" /> 
<meta property="og:video" content="" /> 
<meta property="og:video:width" content="560" />  
<meta property="og:video:height" content="340" />  
<meta property="og:video:type" content="application/x-shockwave-flash" />

    
<?php };

?>
             

  
        
        <?php wp_head();?>
		
		<?php include('assets/css/dynamic-css.php'); ?>
	

        
    </head>
    <body>
       
            
                    <!--================================
                            header-section-start
                    ===============================-->
        <div class="banner-section">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                         <div class="banner">
                            <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src=" <?php echo $themesbazar['banner_upload']['url']?>" alt="Banner" width="100%"></a> 
                        </div>
                    </div>
                </div>
            </div>
        </div>
                               
                    <!--================================
                            header-section-End
                    ===============================-->
                                      
                    
                   
                   
                   
                    <!--================================
                                 menu-section-start
                    ===============================-->
                
                

<!------------ Menu & Search section Start -------------->

		
            <div class="container">
               <section class="menu_section" id="myHeader">
                <div class="row">
                	<div class="col-md-12 col-sm-12">
                		<div id="menu-area" class="menu_area">
		                    <div class="menu_bottom">
                                <nav role="navigation" class="navbar navbar-default mainmenu">
                            <!-- Brand and toggle get grouped for better mobile display -->
                                    <div class="navbar-header">
                                        <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">
                                            <span class="sr-only">Toggle navigation</span>
                                            <span class="icon-bar"></span>
                                            <span class="icon-bar"></span>
                                            <span class="icon-bar"></span>
                                        </button>
                                    </div>
                                    <!-- Collection of nav links and other content for toggling -->
                                    <div id="navbarCollapse" class="collapse navbar-collapse">
                                        <?php /* Primary navigation */
												wp_nav_menu( array(
											   'theme_location' => 'main-menu',
											   'menu_class'    => 'nav navbar-nav',
											   'fallback_cb' => 'default_main_menu',
											   'walker' => new wp_bootstrap_navwalker())
												  );
											?>
                                    </div>
                                </nav>
		                                    
		                    </div><!-- /.header_bottom -->

		                </div>
                	</div>
                	
                </div>
            </div>
        </section>


                     
                 <!--================================
                          menu-section-End
                ===============================--> 
          
                        