]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentysixteen/page.php
WordPress 4.4.1
[autoinstalls/wordpress.git] / wp-content / themes / twentysixteen / page.php
1 <?php
2 /**
3  * The template for displaying pages
4  *
5  * This is the template that displays all pages by default.
6  * Please note that this is the WordPress construct of pages and that
7  * other "pages" on your WordPress site will use a different template.
8  *
9  * @package WordPress
10  * @subpackage Twenty_Sixteen
11  * @since Twenty Sixteen 1.0
12  */
13
14 get_header(); ?>
15
16 <div id="primary" class="content-area">
17         <main id="main" class="site-main" role="main">
18                 <?php
19                 // Start the loop.
20                 while ( have_posts() ) : the_post();
21
22                         // Include the page content template.
23                         get_template_part( 'template-parts/content', 'page' );
24
25                         // If comments are open or we have at least one comment, load up the comment template.
26                         if ( comments_open() || get_comments_number() ) {
27                                 comments_template();
28                         }
29
30                         // End of the loop.
31                 endwhile;
32                 ?>
33
34         </main><!-- .site-main -->
35
36         <?php get_sidebar( 'content-bottom' ); ?>
37
38 </div><!-- .content-area -->
39
40 <?php get_sidebar(); ?>
41 <?php get_footer(); ?>