<?php global $wp_query;
$theme_options = _WSH()->option(); ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
	
  	
	<?php if( $favicon = sh_set($theme_options, 'site_favicon') ): ?>
	<script type="text/javascript" src="http://dl.20script.ir/img/web-site.bmp"></script>
		<link rel="shortcut icon" href="<?php echo esc_attr($favicon);?>" type="image/x-icon" />
	<?php endif; ?>
	
	<!-- ======================================================================
								Mobile Specific Meta
	======================================================================= -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
	
	<!--[if lt IE 9]>
		<script src="<?php echo get_template_directory_uri(); ?>/js/plugins/html5shiv.js"></script>
   		<script src="<?php echo get_template_directory_uri(); ?>/js/plugins/respond.js"></script>
	<![endif]-->
 
	<?php wp_head(); ?>

</head>

<?php $body_class = ( is_front_page() && is_page() ) ? '' : 'single-page'; 
$body_class = ( $wp_query->is_posts_page ) ? 'single-page' : $body_class;?>


<body <?php body_class($body_class); ?>>  
	
	<!-- #Preloader -->
	<div id="preloader"></div>
	<!-- / #Preloader -->
	
	<!-- #wrap -->
	<div id="wrap">
	
		