<?php 
$consultstreet_page_header_disabled = get_theme_mod('consultstreet_page_header_disabled', true);
$consultstreet_page_header_background_color = get_theme_mod('consultstreet_page_header_background_color');
?>
<?php if($consultstreet_page_header_disabled == true): ?>
<!-- Theme Page Header Area -->		
	<section class="theme-page-header-area">
	<?php if($consultstreet_page_header_background_color != null): ?>
		<div class="overlay" style="background-color: <?php echo esc_attr($consultstreet_page_header_background_color); ?>;"></div>
    <?php else: ?>
        <div class="overlay"></div>
	<?php endif; ?>	
		<div class="container">
			<div class="row wow animate fadeInUp" data-wow-delay="0.3s">
				<div class="col-lg-12 col-md-12 col-sm-12">
				<?php 
                    if(is_home() || is_front_page()) {
                        echo '<div class="page-header-title text-center"><h1 class="text-white">'; echo single_post_title(); echo '</h1></div>';
                    } else{
                        consultstreet_theme_page_header_title();
                    }

                    consultstreet_page_header_breadcrumbs();						
				?>
				</div>
			</div>
		</div>	
	</section>	
<!-- Theme Page Header Area -->		
<?php endif; ?>