CoreFiles by mySites.guru
page.php38 lines, 902 bytes, from wordpress-4.7.21.zip
Raw History Compare with 4.7.20
md5
429635d5e4118c5e9b001299609043fe
sha1
d60d6d8d54eb336be7b35060bddbbcbfa7c9af49
sha256
f2af94100997ff04f326c31277ad0900c3fa7d54d457ae50c4c36af959400a8e
<?php
/**
 * The template for displaying 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 will use a different template.
 *
 * @package WordPress
 * @subpackage Twenty_Fifteen
 * @since Twenty Fifteen 1.0
 */

get_header(); ?>

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

		<?php
		// Start the loop.
		while ( have_posts() ) : the_post();

			// Include the page content template.
			get_template_part( '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;

		// End the loop.
		endwhile;
		?>

		</main><!-- .site-main -->
	</div><!-- .content-area -->

<?php get_footer(); ?>

The same content is in 418 releases, WordPress 4.1-beta2 to 5.0-beta4. See them all, or every version of this file.