CoreFiles by mySites.guru
content-page.php56 lines, 1,251 bytes, from wordpress-5.0-beta1.zip
Raw History Compare with 4.9.8-beta2
md5
613dc92a8f0d10e31a961f27e3d39593
sha1
410379cfef77ebf218e8d85d8c8a8ffde29c32ae
sha256
942e02ac1ca6618d9cf8bbcee63875099023a750d384b130ea803a809ea888bd
<?php
/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<?php
		if ( ! twentynineteen_can_show_post_thumbnail() ) {
		get_template_part( 'template-parts/header/entry', 'header' );}
		?>
	</header>

	<div class="entry-content">
		<?php
		the_content();

		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'twentynineteen' ),
				'after'  => '</div>',
			)
		);
		?>
	</div><!-- .entry-content -->

	<?php if ( get_edit_post_link() ) : ?>
		<footer class="entry-footer">
			<?php
			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>', 'twentynineteen' ),
						array(
							'span' => array(
								'class' => array(),
							),
						)
					),
					get_the_title()
				),
				'<span class="edit-link">',
				'</span>'
			);
			?>
		</footer><!-- .entry-footer -->
	<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->

No other release has this exact content. See every version of this file.