2012-01-07 03:25:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-09-27 06:15:14 +00:00
|
|
|
* Template part for displaying page content in page.php
|
2015-07-01 15:21:44 +00:00
|
|
|
*
|
2017-10-29 08:51:29 +00:00
|
|
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
2012-01-07 03:25:13 +00:00
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
*/
|
2015-05-27 17:49:01 +00:00
|
|
|
|
2012-01-07 03:25:13 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
2014-05-01 15:30:54 +00:00
|
|
|
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
2012-01-07 03:25:13 +00:00
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
2017-07-03 09:43:21 +00:00
|
|
|
<?php _s_post_thumbnail(); ?>
|
|
|
|
|
2012-01-07 03:25:13 +00:00
|
|
|
<div class="entry-content">
|
2013-04-20 00:26:43 +00:00
|
|
|
<?php
|
2017-08-01 20:27:46 +00:00
|
|
|
the_content();
|
2015-11-11 21:59:40 +00:00
|
|
|
|
2020-04-05 20:49:27 +00:00
|
|
|
wp_link_pages(
|
|
|
|
array(
|
|
|
|
'before' => '<div class="page-links">' . esc_html__( 'Pages:', '_s' ),
|
|
|
|
'after' => '</div>',
|
|
|
|
)
|
|
|
|
);
|
2013-04-20 00:26:43 +00:00
|
|
|
?>
|
2012-01-07 03:25:13 +00:00
|
|
|
</div><!-- .entry-content -->
|
2014-06-30 15:43:07 +00:00
|
|
|
|
2016-04-28 07:35:52 +00:00
|
|
|
<?php if ( get_edit_post_link() ) : ?>
|
2016-06-13 05:36:45 +00:00
|
|
|
<footer class="entry-footer">
|
|
|
|
<?php
|
2017-08-01 20:27:46 +00:00
|
|
|
edit_post_link(
|
|
|
|
sprintf(
|
|
|
|
wp_kses(
|
|
|
|
/* translators: %s: Name of current post. Only visible to screen readers */
|
|
|
|
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
|
|
|
|
array(
|
|
|
|
'span' => array(
|
|
|
|
'class' => array(),
|
|
|
|
),
|
|
|
|
)
|
2016-06-13 05:36:45 +00:00
|
|
|
),
|
2019-07-26 03:55:58 +00:00
|
|
|
wp_kses_post( get_the_title() )
|
2017-08-01 20:27:46 +00:00
|
|
|
),
|
|
|
|
'<span class="edit-link">',
|
|
|
|
'</span>'
|
|
|
|
);
|
2016-06-13 05:36:45 +00:00
|
|
|
?>
|
|
|
|
</footer><!-- .entry-footer -->
|
2016-04-28 07:35:52 +00:00
|
|
|
<?php endif; ?>
|
2017-05-10 08:41:46 +00:00
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|