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>',
|
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI.
Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov.
Fixes #29748.
Built from https://develop.svn.wordpress.org/trunk@55276
git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-07 12:10:21 -05:00
|
|
|
/* translators: Hidden accessibility text. */
|
2017-11-30 18:11:00 -05:00
|
|
|
'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(
|
2022-04-29 01:03:11 -04:00
|
|
|
/* translators: %s: Post title. Only visible to screen readers. */
|
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(); ?> -->
|