ACC SHELL
<article <?php post_class('clearfix'); ?>>
<?php
$link_title = get_post_meta($post->ID, 'coffee_link_title', true);
$link = get_post_meta($post->ID, 'coffee_link', true);
?>
<div class="entry-inner clearfix">
<div class="entry-media-wrapper clearfix">
<div class="entry-media clearfix">
<div class="featured-link clearfix">
<a href="<?php echo($link); ?>" title="<?php echo esc_attr( sprintf( __( 'Link to "%s"', 'coffee' ), $link_title ) ); ?>" target="_blank">
<div class="link heading-font"><?php echo($link_title); ?></div>
</a>
<i class="icon-link"></i>
</div>
<div class="entry-media-arrow-bottom"></div>
</div>
</div>
<div class="entry-title-wrapper clearfix">
<h1 class="entry-title">
<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>
</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 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) : ?>
<?php the_excerpt(); ?>
<?php else : ?>
<?php global $more; $more = 0; ?>
<?php the_content(false); ?>
<?php endif; ?>
<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>
</div>
</div>
<?php endif; ?>
</div>
</article>
ACC SHELL 2018