CoreFiles by mySites.guru
page.php43 lines, 1,002 bytes, from wordpress-5.4.21.zip
Raw History Compare with 5.4.20
md5
dfcf922fb5029794cceea7cf19913ee0
sha1
68a11375b8812171aa57ba36598a89037a88c76a
sha256
997d34affccf4f1e04ddb5623a4278658a6e3c0aa48871368855975f2094743a
<?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 Twenty Seventeen 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 the loop.
			?>

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

<?php
get_footer();

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