]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentyfifteen/content-page.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyfifteen / content-page.php
1 <?php
2 /**
3  * The template used for displaying page content
4  *
5  * @package WordPress
6  * @subpackage Twenty_Fifteen
7  * @since Twenty Fifteen 1.0
8  */
9 ?>
10
11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12         <?php
13                 // Post thumbnail.
14                 twentyfifteen_post_thumbnail();
15         ?>
16
17         <header class="entry-header">
18                 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
19         </header><!-- .entry-header -->
20
21         <div class="entry-content">
22                 <?php the_content(); ?>
23                 <?php
24                         wp_link_pages( array(
25                                 'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
26                                 'after'       => '</div>',
27                                 'link_before' => '<span>',
28                                 'link_after'  => '</span>',
29                                 'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
30                                 'separator'   => '<span class="screen-reader-text">, </span>',
31                         ) );
32                 ?>
33         </div><!-- .entry-content -->
34
35         <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
36
37 </article><!-- #post-## -->