wp/wp-content/themes/twentythirteen/index.php
changeset 10 372f2766ea20
parent 7 cf61fcea0001
equal deleted inserted replaced
9:177826044cd9 10:372f2766ea20
     5  * This is the most generic template file in a WordPress theme and one of the
     5  * This is the most generic template file in a WordPress theme and one of the
     6  * two required files for a theme (the other being style.css).
     6  * two required files for a theme (the other being style.css).
     7  * It is used to display a page when nothing more specific matches a query.
     7  * It is used to display a page when nothing more specific matches a query.
     8  * For example, it puts together the home page when no home.php file exists.
     8  * For example, it puts together the home page when no home.php file exists.
     9  *
     9  *
    10  * @link https://codex.wordpress.org/Template_Hierarchy
    10  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    11  *
    11  *
    12  * @package WordPress
    12  * @package WordPress
    13  * @subpackage Twenty_Thirteen
    13  * @subpackage Twenty_Thirteen
    14  * @since Twenty Thirteen 1.0
    14  * @since Twenty Thirteen 1.0
    15  */
    15  */
    22 
    22 
    23 			<?php /* The loop */ ?>
    23 			<?php /* The loop */ ?>
    24 			<?php
    24 			<?php
    25 			while ( have_posts() ) :
    25 			while ( have_posts() ) :
    26 				the_post();
    26 				the_post();
    27 ?>
    27 				?>
    28 				<?php get_template_part( 'content', get_post_format() ); ?>
    28 				<?php get_template_part( 'content', get_post_format() ); ?>
    29 			<?php endwhile; ?>
    29 			<?php endwhile; ?>
    30 
    30 
    31 			<?php twentythirteen_paging_nav(); ?>
    31 			<?php twentythirteen_paging_nav(); ?>
    32 
    32