content-page.php 871 B

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