Make WordPress Core


Ignore:
Timestamp:
11/19/2014 08:27:09 PM (12 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: doc cleanup, addresses removing periods from file header summaries, some spacing, loop documentation, and https instead of http.

Props DrewAPicture, MikeHansenMe, see #30149.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/page.php

    r30233 r30394  
    11<?php
    22/**
    3  * The template for displaying pages.
     3 * The template for displaying pages
    44 *
    55 * This is the template that displays all pages by default.
     
    1717                <main id="main" class="site-main" role="main">
    1818
    19                 <?php while ( have_posts() ) : the_post(); ?>
     19                <?php
     20                // Start the loop.
     21                while ( have_posts() ) : the_post();
    2022
    21                         <?php get_template_part( 'content', 'page' ); ?>
     23                        // Include the page content template.
     24                        get_template_part( 'content', 'page' );
    2225
    23                         <?php
    24                                 // If comments are open or we have at least one comment, load up the comment template
    25                                 if ( comments_open() || get_comments_number() ) :
    26                                         comments_template();
    27                                 endif;
    28                         ?>
     26                        // If comments are open or we have at least one comment, load up the comment template.
     27                        if ( comments_open() || get_comments_number() ) :
     28                                comments_template();
     29                        endif;
    2930
    30                 <?php endwhile; // end of the loop. ?>
     31                // End the loop.
     32                endwhile;
     33                ?>
    3134
    3235                </main><!-- .site-main -->
Note: See TracChangeset for help on using the changeset viewer.