Make WordPress Core


Ignore:
Timestamp:
12/03/2013 05:05:53 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/category.php

    r26217 r26556  
    3030
    3131                        <?php
    32                                         while ( have_posts() ) :
    33                                                 the_post();
     32                                        // Start the Loop.
     33                                        while ( have_posts() ) : the_post();
    3434
    35                                                 get_template_part( 'content', get_post_format() );
     35                                        /*
     36                                         * Include the post format-specific template for the content. If you want to
     37                                         * use this in a child theme, then include a file called called content-___.php
     38                                         * (where ___ is the post format) and that will be used instead.
     39                                         */
     40                                        get_template_part( 'content', get_post_format() );
     41
    3642                                        endwhile;
     43                                        // Previous/next page navigation.
    3744                                        twentyfourteen_paging_nav();
    3845
    3946                                else :
     47                                        // If no content, include the "No posts found" template.
    4048                                        get_template_part( 'content', 'none' );
    4149
Note: See TracChangeset for help on using the changeset viewer.