3 * The template for displaying all pages
5 * This is the template that displays all pages by default.
6 * Please note that this is the WordPress construct of pages and that other
7 * 'pages' on your WordPress site will use a different template.
10 * @subpackage Twenty_Thirteen
11 * @since Twenty Thirteen 1.0
16 <div id="primary" class="content-area">
17 <div id="content" class="site-content" role="main">
19 <?php /* The loop */ ?>
20 <?php while ( have_posts() ) : the_post(); ?>
22 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
23 <header class="entry-header">
24 <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
25 <div class="entry-thumbnail">
26 <?php the_post_thumbnail(); ?>
30 <h1 class="entry-title"><?php the_title(); ?></h1>
31 </header><!-- .entry-header -->
33 <div class="entry-content">
34 <?php the_content(); ?>
35 <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
36 </div><!-- .entry-content -->
38 <footer class="entry-meta">
39 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
40 </footer><!-- .entry-meta -->
41 </article><!-- #post -->
43 <?php comments_template(); ?>
46 </div><!-- #content -->
47 </div><!-- #primary -->
49 <?php get_sidebar(); ?>
50 <?php get_footer(); ?>