<?php
/**
 * template for dispalying header section
*/
?>

<header id="masthead" class="site-header clearex-header-area">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="site-branding">
                    <?php
                    if(has_custom_logo()):?>
                        <div class="logo-image">
                            <?php the_custom_logo();?>
                        </div>
                    <?php endif;?>   
                    <div class="logo-title-wrapper">
                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
                        <?php
                    $clearex_description = get_bloginfo( 'description', 'display' );
                    if ( $clearex_description || is_customize_preview() ) :
                        ?>
                        <p class="site-description"><?php echo $clearex_description; /* WPCS: xss ok. */ ?></p>
                    <?php endif; ?>
                    </div> 
                </div><!-- .site-branding -->
                <div class="header-social-icons">
                        <?php get_template_part( 'template-parts/header/header', 'social' )?>
                </div>
            </div>  
        </div>
    </div>
</header><!-- #masthead -->