wp/wp-content/themes/twentythirteen/page.php
changeset 10 372f2766ea20
parent 7 cf61fcea0001
equal deleted inserted replaced
9:177826044cd9 10:372f2766ea20
    18 
    18 
    19 			<?php /* The loop */ ?>
    19 			<?php /* The loop */ ?>
    20 			<?php
    20 			<?php
    21 			while ( have_posts() ) :
    21 			while ( have_posts() ) :
    22 				the_post();
    22 				the_post();
    23 ?>
    23 				?>
    24 
    24 
    25 				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    25 				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    26 					<header class="entry-header">
    26 					<header class="entry-header">
    27 						<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    27 						<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    28 						<div class="entry-thumbnail">
    28 						<div class="entry-thumbnail">
    42 								'after'       => '</div>',
    42 								'after'       => '</div>',
    43 								'link_before' => '<span>',
    43 								'link_before' => '<span>',
    44 								'link_after'  => '</span>',
    44 								'link_after'  => '</span>',
    45 							)
    45 							)
    46 						);
    46 						);
    47 ?>
    47 						?>
    48 					</div><!-- .entry-content -->
    48 					</div><!-- .entry-content -->
    49 
    49 
    50 					<footer class="entry-meta">
    50 					<footer class="entry-meta">
    51 						<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
    51 						<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
    52 					</footer><!-- .entry-meta -->
    52 					</footer><!-- .entry-meta -->