<?php
/**
 * Entry header part.
 *
 * @package Ef Practical
 */

if ( is_singular() ) :
?>
    
    <header class="entry-header">
        <h1 class="entry-title"><?php practical_post_format_icon(); ?><?php the_title(); ?></h1>
    </header><!-- .entry-header -->
    
<?php else: ?>
    
    <header class="entry-header">
        <h2 class="entry-title">
            <?php practical_post_format_icon(); ?><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute('echo=0'); ?>"><?php the_title(); ?></a>
        </h2>
    </header><!-- .entry-header -->
    
<?php endif; ?>