CoreFiles by mySites.guru
page.php43 lines, 988 bytes, from wordpress-5.2.21.zip
Raw History Compare with 5.2.20
md5
e0cb39c6247f2b9e0ca111871ed5fe76
sha1
a32e0b92d7d3ae5ac8882589cb3a9fc24f0fc052
sha256
221625c88317e58e7b2630da911fdd75b527d3d62139dcf6c488b0cc226bd30a
<?php
/**
 * The template for displaying all pages
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */

get_header(); ?>

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

			<?php
			while ( have_posts() ) :
				the_post();

				get_template_part( 'template-parts/page/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();
				endif;

			endwhile; // End of the loop.
			?>

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

<?php
get_footer();

The same content is in 118 releases, WordPress 5.1-beta1 to 5.3.28. See them all, or every version of this file.