function instaapp_head()
{
    global $instaapp_shortname;
    $instaapp_favicon = "";
    $instaapp_meta = '<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">' . "\n";
    if (instaapp_get_option($instaapp_shortname . '_favicon')) {
        $instaapp_favicon = esc_url(instaapp_get_option($instaapp_shortname . '_favicon', 'instaapp'));
        $instaapp_meta .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{$instaapp_favicon}\"/>\n";
    }
    echo $instaapp_meta;
    if (!is_admin()) {
        require_once get_template_directory() . '/includes/instaapp-custom-css.php';
    }
}
							<div id="logo" class="span4">
								<?php 
if (instaapp_get_option($instaapp_shortname . "_logo_img")) {
    ?>
									<div class="logo_inner">
										<a href="<?php 
    echo esc_url(home_url('/'));
    ?>
" title="<?php 
    bloginfo('name');
    ?>
" style="display: table;line-height: 0;" ><img class="logo" src="<?php 
    echo instaapp_get_option($instaapp_shortname . "_logo_img");
    ?>
" alt="<?php 
    echo instaapp_get_option($instaapp_shortname . "_logo_alt");
    ?>
" /></a>
									</div>
								<?php 
} else {
    ?>
								<!-- #description -->
									<div id="site-title" class="logo_desp logo_inner">
										<a href="<?php 
    echo esc_url(home_url('/'));
    ?>
" title="<?php 
    bloginfo('name');
    ?>
" ><?php 
<div id="full-division-box" class="instaapp-section">
	<div class="container full-content-box" >
		<div class="row-fluid">
			<div class="span12">
				<?php 
if (instaapp_get_option($instaapp_shortname . "_para_content_left")) {
    echo instaapp_get_option($instaapp_shortname . "_para_content_left");
}
?>
			</div>
		</div>
	</div>
</div>
    $instaapp_persistent_on_off = instaapp_get_option($instaapp_shortname . '_persistent_on_off');
}
if (instaapp_get_option($instaapp_shortname . '_bread_background')) {
    $_bread_background = instaapp_get_option($instaapp_shortname . '_bread_background');
}
if (instaapp_get_option($instaapp_shortname . '_fullparallax_image')) {
    $fullparallax_image = instaapp_get_option($instaapp_shortname . '_fullparallax_image');
}
if (instaapp_get_option($instaapp_shortname . '_moblie_menu')) {
    $instaapp_mobi_menu_width = instaapp_get_option($instaapp_shortname . '_moblie_menu');
}
if (is_page_template('template-contact-page.php') || is_page() || is_search() || is_home() || is_404() || is_front_page() || is_page_template('template-blog-full-width.php') || is_page_template('template-blog-left-sidebar-page.php') || is_page_template('template-blog-right-sidebar-page.php') || is_page_template('template-masonry.php') || is_archive()) {
    $_bread_background = instaapp_bg_style(instaapp_get_option($instaapp_shortname . '_bread_background'));
}
if (is_page() || is_singular()) {
    $_bread_background = instaapp_bg_style(instaapp_get_option($instaapp_shortname . '_bread_background'));
}
$hrgb = instaapp_Hex2RGB($instaapp_primary_color_scheme);
$hR = $hrgb['red'];
$hG = $hrgb['green'];
$hB = $hrgb['blue'];
$hrgbcolor = "rgba(" . $hR . "," . $hG . "," . $hB . ",.7)";
?>
<style type="text/css">

	/***************** THEME *****************/

	/*************** TOP HEADER **************/
	.social_icon li a:hover,.topbar_info:hover i,
	#footer .third_wrapper a:hover,
	.instaapp-footer-container ul li:hover:before,
<?php

global $instaapp_shortname;
$_featured_heading = instaapp_get_option($instaapp_shortname . '_featured_heading');
$_featured_title1 = instaapp_get_option($instaapp_shortname . '_fb1_first_part_heading');
$_featured_link1 = instaapp_get_option($instaapp_shortname . '_fb1_first_part_link');
$_featured_iconclass1 = instaapp_get_option($instaapp_shortname . '_fb1_first_icon_class');
$_featured_content1 = instaapp_get_option($instaapp_shortname . '_fb1_first_part_content');
$_featured_title2 = instaapp_get_option($instaapp_shortname . '_fb2_second_part_heading');
$_featured_link2 = instaapp_get_option($instaapp_shortname . '_fb2_second_part_link');
$_featured_iconclass2 = instaapp_get_option($instaapp_shortname . '_fb2_second_icon_class');
$_featured_content2 = instaapp_get_option($instaapp_shortname . '_fb2_second_part_content');
$_featured_title3 = instaapp_get_option($instaapp_shortname . '_fb3_third_part_heading');
$_featured_link3 = instaapp_get_option($instaapp_shortname . '_fb3_second_part_link');
$_featured_iconclass3 = instaapp_get_option($instaapp_shortname . '_fb3_third_icon_class');
$_featured_content3 = instaapp_get_option($instaapp_shortname . '_fb3_third_part_content');
?>
<div id="featured-box" class="instaapp-section">

	<!-- container -->
	<div class="container">
		<?php 
if (isset($_featured_heading) && $_featured_heading != '') {
    ?>
<h2 class="section_heading"><?php 
    echo $_featured_heading;
    ?>
</h2><?php 
}
?>
get_header();
?>

<?php 
global $instaapp_shortname;
?>
<div class="main-wrapper-item">

	<!-- BreadCrumb Section // -->
	<div class="bread-title-holder">
		<div class="container">
			<div class="row-fluid">
				<div class="container_inner clearfix">
					<h1 class="title"><?php 
if (instaapp_get_option($instaapp_shortname . '_blogpage_heading')) {
    echo instaapp_get_option($instaapp_shortname . '_blogpage_heading');
}
?>
</h1>
				</div>
			</div>
		</div>
	</div>
	<!-- BreadCrumb Section // -->

	<!-- container // -->
	<div class="container post-wrap">
		 <!-- row-fluid // -->
		 <div class="row-fluid">
			  <div id="container" class="span8">
				<div id="content">
<div class="Skt-header-image">
<?php 
if (instaapp_get_option($instaapp_shortname . '_frontslider_stype')) {
    $front_bg_image = instaapp_get_option($instaapp_shortname . '_frontslider_stype');
}
?>
	<!-- header image -->
		<div class="instaapp-front-bgimg"><img alt="Background Image" class="ad-slider-image" src="<?php 
if (isset($front_bg_image)) {
    echo $front_bg_image;
}
?>
" ></div>
	<!-- end  header image  -->
</div>
				<?php 
dynamic_sidebar('Footer Sidebar');
?>
				<div class="clearfix"></div>
			</div><!-- second_wrapper -->
		</div>
	</div>

	<div class="third_wrapper">
		<div class="container">
			<div class="row-fluid">
				<?php 
$sktURL = 'http://www.sketchthemes.com/';
?>
				<div class="copyright span6 alpha omega"> <?php 
echo stripslashes(instaapp_get_option($instaapp_shortname . "_copyright"));
?>
</div>
				<div class="owner span6 alpha omega"><?php 
_e('InstaAppointment By', 'instaapp');
?>
 <a href="<?php 
echo $sktURL;
?>
" title="Sketch Themes"><?php 
_e('SketchThemes', 'instaapp');
?>
</a></div>
				<div class="clearfix"></div>
			</div>
		</div>