content-page.php 633 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * The template used for displaying page content in page.php
  4. *
  5. * @package _s
  6. * @since _s 1.0
  7. */
  8. ?>
  9. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10. <header class="entry-header">
  11. <h1 class="entry-title"><?php the_title(); ?></h1>
  12. </header><!-- .entry-header -->
  13. <div class="entry-content">
  14. <?php the_content(); ?>
  15. <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
  16. <?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
  17. </div><!-- .entry-content -->
  18. </article><!-- #post-<?php the_ID(); ?> -->