content.php 1018 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Template part for displaying posts.
  4. *
  5. * @package Independent_Publisher_2
  6. */
  7. ?>
  8. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9. <?php independent_publisher_2_entry_header(); ?>
  10. <?php independent_publisher_2_post_thumbnail(); ?>
  11. <div class="entry-content">
  12. <?php
  13. /* translators: %s: Name of current post */
  14. the_content( sprintf(
  15. wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'independent-publisher-2' ), array( 'span' => array( 'class' => array() ) ) ),
  16. the_title( '<span class="screen-reader-text">"', '"</span>', false )
  17. ) );
  18. ?>
  19. </div><!-- .entry-content -->
  20. <footer class="entry-footer">
  21. <?php
  22. wp_link_pages( array(
  23. 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'independent-publisher-2' ),
  24. 'after' => '</div>',
  25. 'link_before' => '<span>',
  26. 'link_after' => '</span>',
  27. ) );
  28. ?>
  29. <?php independent_publisher_2_entry_meta(); ?>
  30. </footer><!-- .entry-footer -->
  31. </article><!-- #post-## -->