CoreFiles by mySites.guru
page.php41 lines, 965 bytes, from wordpress-4.8.21.zip
Raw History Compare with 4.8.20
md5
c20f3605502315fa3d91176aba110d2f
sha1
c49678e49f3e69eb28adb0a74776abdcfab41175
sha256
056e238bb97df5db047bd9a20ef5c9916904f8d21b17e53d63978d169750dce1
<?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://codex.wordpress.org/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 195 releases, WordPress 4.7-beta1 to 5.0.32. See them all, or every version of this file.