<?php
/**
 * Title Bar.
 *
 * @package Ef Practical
 */

?>

<div class="page-header">
    <div class="ef-container">
        <h1 class="page-title">
            <?php if ( '' != get_theme_mod( 'practical_blog_home_change_title', '' ) && is_home() ) : ?>
                <?php echo esc_html( get_theme_mod( 'practical_blog_home_change_title' ) ); ?>
            <?php else: ?>
                <?php if( is_single() ) practical_post_format_icon(); ?><?php echo get_the_archive_title(); /* WPCS: xss ok. */ ?>
            <?php endif; ?>
        </h1>
    </div>
</div>