ACC SHELL
<article <?php post_class('clearfix'); ?>>
<?php
$quote = get_post_meta($post->ID, 'coffee_quote', true);
$quote_author = get_post_meta($post->ID, 'coffee_quote_author', true);
?>
<div class="entry-aside clearfix">
<div class="entry-author">
<a title="<?php echo esc_attr( sprintf( __( 'Posts by %s', 'coffee' ), get_the_author())); ?>" href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>">
<?php echo get_avatar(get_the_author_meta('ID'), 50 ); ?>
</a>
</div>
</div>
<div class="entry-inner clearfix">
<div class="entry-media-wrapper clearfix">
<div class="entry-media clearfix">
<div class="featured-quote clearfix">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to "%s"', 'coffee' ), the_title_attribute( 'echo=0' ) ) ); ?>">
<blockquote class="heading-font">
<p><?php echo($quote); ?></p>
<footer><?php echo($quote_author); ?></footer>
</blockquote>
</a>
</div>
<div class="entry-media-arrow-bottom"></div>
</div>
</div>
<div class="entry-title-wrapper clearfix">
<h1 class="entry-title">
<?php if (!is_single()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to "%s"', 'coffee' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php else : ?>
<?php the_title(); ?>
<?php endif; ?>
</h1>
</div>
<div class="entry-meta-wrapper">
<div class="entry-meta heading-font">
<ul>
<li><?php the_time(get_option( 'date_format' )); ?></li>
<li><?php comments_popup_link( __('No Comments', 'coffee'), __('One Comment', 'coffee'), __('% Comment', 'coffee') ); ?></li>
<li><?php the_category(', '); ?></li>
</ul>
</div>
</div>
<?php if($post->post_excerpt || $post-> post_content) : ?>
<div class="entry-content-wrapper clearfix">
<div class="entry-content clearfix">
<?php if ($post->post_excerpt && !is_single()) : ?>
<?php the_excerpt(); ?>
<?php else : ?>
<?php the_content(false); ?>
<?php endif; ?>
<?php if (!is_single()) : ?>
<a class="read-more" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to "%s"', 'coffee' ), the_title_attribute( 'echo=0' ) ) ); ?>">
<button>
<i class="icon-plus"></i><?php _e('Read More', 'coffee'); ?>
</button>
</a>
<?php elseif(is_single() && has_tag()) : ?>
<div class="entry-tags clearfix">
<?php the_tags('', '', ''); ?>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
</article>
ACC SHELL 2018