?>
" <?php 
post_class();
?>
>
	<header class="entry-header">
		<?php 
the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>');
?>

		<?php 
if ('post' == get_post_type()) {
    ?>
		<div class="entry-meta">
			<?php 
    great_posted_on();
    ?>
		</div><!-- .entry-meta -->
		<?php 
}
?>
	</header><!-- .entry-header -->

	<div class="entry-summary">
		<?php 
the_excerpt();
?>
	</div><!-- .entry-summary -->

	<footer class="entry-footer">
		<?php 
function great_post_box()
{
    ?>
<div <?php 
    post_class("post-box entry-content");
    ?>
>

	<?php 
    if (has_post_thumbnail()) {
        ?>
    <a href="<?php 
        the_permalink();
        ?>
" title="<?php 
        the_title();
        ?>
"><?php 
        the_post_thumbnail('thumbnail');
        ?>
</a>
    <?php 
    }
    ?>
 
    
    <a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title();
    ?>
"><?php 
    the_title('<span class="entry-title">', '</span>');
    ?>
</a>
    <br />
    <span class="post-box-date">
    	<?php 
    great_posted_on();
    ?>
    </span>
    <br />
	<?php 
    the_excerpt();
    ?>

    <div class="post-box-more">
    	<a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title();
    ?>
"><?php 
    _e('Read More...', 'great');
    ?>
 <i class="fa fa-arrow-right"></i></a>
    </div>
    <div class="clear"></div>
</div><!-- #post-box -->

<?php 
}