1. <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  2. <?php if( has_post_thumbnail() ) : ?>
  3. <?php $thumb = ( esplanade_is_teaser() ? 'teaser-thumb' : 'blog-thumb' ); ?>
  4. <figure>
  5. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
  6. <?php the_post_thumbnail( $thumb ); ?>
  7. </a>
  8. </figure>
  9. <?php endif; ?>
  10. <?php if( is_paged() || ! esplanade_is_teaser() ) : ?>
  11. <header class="entry-header">
  12. <?php endif; ?>
  13. <<?php esplanade_title_tag( 'post' ); ?> class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></<?php esplanade_title_tag( 'post' ); ?>>
  14. <?php if( is_paged() || ! esplanade_is_teaser() ) : ?>
  15. <aside class="entry-meta">
  16. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a> |
  17. <?php _e( 'Filed under', 'esplanade' ); ?>: <?php the_category( ', ' ) ?>
  18. <?php edit_post_link( __( 'Edit', 'esplanade' ), ' | ', '' ); ?>
  19. </aside><!-- .entry-meta -->
  20. </header><!-- .entry-header -->
  21. <?php endif; ?>
  22. <div class="entry-summary">
  23. <?php the_excerpt(); ?>
  24. </div><!-- .entry-summary -->
  25. <div class="clear"></div>
  26. </article><!-- .post -->
  27. <?php if( esplanade_is_teaser() ) : ?>
  28. <?php esplanade_teaser_clearfix(); ?>
  29. <?php endif; ?>