<?php /** * @package Eighties */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( has_post_thumbnail() ) : ?> <figure class="entry-image"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_post_thumbnail( 'main-featured' ); ?></a> </figure> <?php endif; ?><!-- .entry-image --> <header class="entry-header"> <?php if ( is_single() ) : ?> <?php /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( __( ', ', 'eighties' ) ); if ( $categories_list && eighties_categorized_blog() ) : ?> <div class="entry-meta entry-meta-categories"><?php echo $categories_list; ?></div> <?php endif; ?> <?php endif; ?> </header><!-- .entry-header --> <div class="entry-summary"> <?php the_content( 'Read More <i class="fa fa-caret-right"></i>' ); ?> <?php edit_post_link( __( 'Edit', 'eighties' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> <p class="entry-meta entry-meta-time"> <?php eighties_post_format(); ?> <?php if ( is_single() ) : ?> <?php eighties_posted_on(); ?> <?php else : ?> <a href="<?php the_permalink(); ?>" rel="bookmark"><i class="fa fa-clock-o"></i><?php echo eighties_get_time_difference( get_the_date( 'Y-m-d H:i:s' ) ); ?></a> <?php endif; ?> </p> <?php if ( is_single() ) : ?> <?php the_tags( '<footer class="entry-footer"><div class="entry-meta entry-meta-tags">', ' ', '</div></footer><!-- .entry-footer -->' ); ?> <?php endif; ?> </article><!-- #post-## -->