2014-12-10 11:36:38 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package understrap
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
|
|
|
|
<header class="entry-header">
|
|
|
|
|
2014-12-11 16:41:11 +00:00
|
|
|
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
2014-12-10 11:36:38 +00:00
|
|
|
|
|
|
|
<?php if ( 'post' == get_post_type() ) : ?>
|
|
|
|
<div class="entry-meta">
|
|
|
|
<?php understrap_posted_on(); ?>
|
|
|
|
</div><!-- .entry-meta -->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
2014-12-11 16:56:13 +00:00
|
|
|
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
|
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
<div class="entry-content">
|
|
|
|
|
|
|
|
<?php
|
|
|
|
/* translators: %s: Name of current post */
|
2014-12-11 16:41:11 +00:00
|
|
|
the_excerpt( sprintf(
|
2014-12-10 11:36:38 +00:00
|
|
|
__( 'Continue reading %s <span class="meta-nav">→</span>', 'understrap' ),
|
|
|
|
the_title( '<span class="screen-reader-text">"', '"</span>', false )
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
wp_link_pages( array(
|
|
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ),
|
|
|
|
'after' => '</div>',
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div><!-- .entry-content -->
|
|
|
|
|
|
|
|
<footer class="entry-footer">
|
|
|
|
<?php understrap_entry_footer(); ?>
|
|
|
|
</footer><!-- .entry-footer -->
|
|
|
|
|
|
|
|
</article><!-- #post-## -->
|