2017-05-30 17:21:43 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template part for displaying single posts
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Sixteen
|
|
|
|
* @since Twenty Sixteen 1.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
|
|
|
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
|
|
|
<?php twentysixteen_excerpt(); ?>
|
|
|
|
|
|
|
|
<?php twentysixteen_post_thumbnail(); ?>
|
|
|
|
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php
|
|
|
|
the_content();
|
|
|
|
|
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>',
|
|
|
|
)
|
|
|
|
);
|
2017-05-30 17:21:43 -04:00
|
|
|
|
|
|
|
if ( '' !== get_the_author_meta( 'description' ) ) {
|
|
|
|
get_template_part( 'template-parts/biography' );
|
|
|
|
}
|
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(
|
2019-09-02 20:41:05 -04:00
|
|
|
/* translators: %s: Post title. */
|
2017-05-30 17:21:43 -04:00
|
|
|
__( '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(); ?> -->
|