2017-05-30 23:21:43 +02: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-12-01 00:11:00 +01:00
|
|
|
the_content(
|
|
|
|
sprintf(
|
2019-09-03 02:41:05 +02:00
|
|
|
/* translators: %s: Post title. */
|
2017-12-01 00:11:00 +01:00
|
|
|
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
|
|
|
|
get_the_title()
|
|
|
|
)
|
|
|
|
);
|
2017-05-30 23:21:43 +02:00
|
|
|
|
2017-12-01 00:11:00 +01: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-17 03:51:36 +02:00
|
|
|
?>
|
2017-05-30 23:21:43 +02:00
|
|
|
</div><!-- .entry-content -->
|
|
|
|
|
|
|
|
<footer class="entry-footer">
|
|
|
|
<?php twentysixteen_entry_meta(); ?>
|
|
|
|
<?php
|
|
|
|
edit_post_link(
|
|
|
|
sprintf(
|
2019-09-03 02:41:05 +02:00
|
|
|
/* translators: %s: Post title. */
|
2017-05-30 23:21:43 +02:00
|
|
|
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
|
|
|
|
get_the_title()
|
|
|
|
),
|
|
|
|
'<span class="edit-link">',
|
|
|
|
'</span>'
|
|
|
|
);
|
2018-08-17 03:51:36 +02:00
|
|
|
?>
|
2017-05-30 23:21:43 +02:00
|
|
|
</footer><!-- .entry-footer -->
|
2019-04-16 03:30:53 +02:00
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|