content-page.php 949 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * The template used for displaying page content in page.php
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Fifteen
  7. * @since Twenty Fifteen 1.0
  8. */
  9. ?>
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <?php twentyfifteen_post_thumbnail(); ?>
  12. <header class="entry-header">
  13. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  14. </header><!-- .entry-header -->
  15. <div class="entry-content">
  16. <?php the_content(); ?>
  17. <?php
  18. wp_link_pages( array(
  19. 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'twentyfifteen' ) . '</span>',
  20. 'after' => '</div>',
  21. 'link_before' => '<span>',
  22. 'link_after' => '</span>',
  23. ) );
  24. ?>
  25. </div><!-- .entry-content -->
  26. <?php edit_post_link( esc_html__( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
  27. </article><!-- #post-## -->