2017-05-30 17:21:43 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template part for displaying content
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Sixteen
|
|
|
|
* @since Twenty Sixteen 1.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
|
|
|
<?php if ( is_sticky() && is_home() && ! is_paged() ) : ?>
|
|
|
|
<span class="sticky-post"><?php _e( 'Featured', 'twentysixteen' ); ?></span>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
|
|
|
<?php twentysixteen_excerpt(); ?>
|
|
|
|
|
|
|
|
<?php twentysixteen_post_thumbnail(); ?>
|
|
|
|
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php
|
2017-11-30 18:11:00 -05:00
|
|
|
the_content(
|
|
|
|
sprintf(
|
2019-07-05 04:04:57 -04:00
|
|
|
/* translators: %s: Name of current post */
|
2017-11-30 18:11:00 -05:00
|
|
|
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
|
|
|
|
get_the_title()
|
|
|
|
)
|
|
|
|
);
|
2017-05-30 17:21:43 -04:00
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
wp_link_pages(
|
|
|
|
array(
|
|
|
|
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>',
|
|
|
|
'after' => '</div>',
|
|
|
|
'link_before' => '<span>',
|
|
|
|
'link_after' => '</span>',
|
|
|
|
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%',
|
|
|
|
'separator' => '<span class="screen-reader-text">, </span>',
|
|
|
|
)
|
|
|
|
);
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2017-05-30 17:21:43 -04:00
|
|
|
</div><!-- .entry-content -->
|
|
|
|
|
|
|
|
<footer class="entry-footer">
|
|
|
|
<?php twentysixteen_entry_meta(); ?>
|
|
|
|
<?php
|
|
|
|
edit_post_link(
|
|
|
|
sprintf(
|
|
|
|
/* translators: %s: Name of current post */
|
|
|
|
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
|
|
|
|
get_the_title()
|
|
|
|
),
|
|
|
|
'<span class="edit-link">',
|
|
|
|
'</span>'
|
|
|
|
);
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2017-05-30 17:21:43 -04:00
|
|
|
</footer><!-- .entry-footer -->
|
2019-04-15 21:30:53 -04:00
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|