CoreFiles by mySites.guru
page.php38 lines, 766 bytes, from wordpress-5.5.21.zip
Raw History Compare with 5.5.20
md5
2726691fc9b4b44792ba78b3f7526c3a
sha1
999d2b49017e7b06630e496acf659cb962778999
sha256
bd170c8f5a628308092ba9a586452de61990b74a6a327c741ed023df2c8aa9c5
<?php
/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 * @since Twenty Nineteen 1.0
 */

get_header();
?>

	<div id="primary" class="content-area">
		<main id="main" class="site-main">

			<?php

			// Start the Loop.
			while ( have_posts() ) :
				the_post();

				get_template_part( 'template-parts/content/content', 'page' );

				// If comments are open or we have at least one comment, load up the comment template.
				if ( comments_open() || get_comments_number() ) {
					comments_template();
				}

			endwhile; // End the loop.
			?>

		</main><!-- #main -->
	</div><!-- #primary -->

<?php
get_footer();

The same content is in 177 releases, WordPress 5.4-beta1 to 5.9-RC3. See them all, or every version of this file.