2013-02-18 18:08:56 -05:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-20 15:34:10 -04:00
|
|
|
* The template for displaying all pages
|
2013-02-18 18:08:56 -05:00
|
|
|
*
|
|
|
|
* This is the template that displays all pages by default.
|
|
|
|
* Please note that this is the WordPress construct of pages and that other
|
|
|
|
* 'pages' on your WordPress site will use a different template.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Thirteen
|
|
|
|
* @since Twenty Thirteen 1.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary" class="content-area">
|
|
|
|
<div id="content" class="site-content" role="main">
|
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php
|
2020-01-28 19:45:18 -05:00
|
|
|
// Start the loop.
|
2017-11-30 18:11:00 -05:00
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2013-02-18 18:08:56 -05:00
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
2013-02-19 23:32:31 -05:00
|
|
|
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
|
|
|
|
<div class="entry-thumbnail">
|
|
|
|
<?php the_post_thumbnail(); ?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2013-02-18 18:08:56 -05:00
|
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
2013-02-19 23:32:31 -05:00
|
|
|
</header><!-- .entry-header -->
|
2013-02-18 18:08:56 -05:00
|
|
|
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
2017-11-30 18:11:00 -05:00
|
|
|
<?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>',
|
|
|
|
)
|
|
|
|
);
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2013-02-18 18:08:56 -05:00
|
|
|
</div><!-- .entry-content -->
|
|
|
|
|
|
|
|
<footer class="entry-meta">
|
|
|
|
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
|
|
|
|
</footer><!-- .entry-meta -->
|
|
|
|
</article><!-- #post -->
|
|
|
|
|
|
|
|
<?php comments_template(); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php get_footer(); ?>
|