WordPress 4.7
[autoinstalls/wordpress.git] / wp-content / themes / twentyseventeen / template-parts / page / content-page.php
1 <?php
2 /**
3  * Template part for displaying page content in page.php
4  *
5  * @link https://codex.wordpress.org/Template_Hierarchy
6  *
7  * @package WordPress
8  * @subpackage Twenty_Seventeen
9  * @since 1.0
10  * @version 1.0
11  */
12
13 ?>
14
15 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
16         <header class="entry-header">
17                 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
18                 <?php twentyseventeen_edit_link( get_the_ID() ); ?>
19         </header><!-- .entry-header -->
20         <div class="entry-content">
21                 <?php
22                         the_content();
23
24                         wp_link_pages( array(
25                                 'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
26                                 'after'  => '</div>',
27                         ) );
28                 ?>
29         </div><!-- .entry-content -->
30 </article><!-- #post-## -->