content-page.php 761 B

123456789101112131415161718192021222324252627282930313233343536
  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 Ixion
  8. */
  9. ?>
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <div class="entry-content">
  12. <?php
  13. the_content();
  14. wp_link_pages( array(
  15. 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'ixion' ),
  16. 'after' => '</div>',
  17. ) );
  18. ?>
  19. </div>
  20. <footer class="entry-footer">
  21. <?php
  22. edit_post_link(
  23. sprintf(
  24. /* translators: %s: Name of current post */
  25. esc_html__( 'Edit %s', 'ixion' ),
  26. the_title( '<span class="screen-reader-text">"', '"</span>', false )
  27. ),
  28. '<span class="edit-link">',
  29. '</span>'
  30. );
  31. ?>
  32. </footer>
  33. </article><!-- #post-## -->