single-image.php 783 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Template part for displaying posts.
  4. *
  5. * @link https://codex.wordpress.org/Template_Hierarchy
  6. *
  7. * @package Sakurairo
  8. */
  9. ?>
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <?php if(should_show_title()) { ?>
  12. <div class="Extendfull">
  13. <?php the_post_thumbnail('full');
  14. require get_template_directory() . '/tpl/single-entry-header.php';
  15. ?>
  16. </div>
  17. <?php } ?>
  18. <!-- .entry-header -->
  19. <div class="entry-content">
  20. <?php the_content( '', true ); ?>
  21. <?php
  22. wp_link_pages( array(
  23. 'before' => '<div class="page-links">' . __( 'Pages:', 'ondemand' ),
  24. 'after' => '</div>',
  25. ) );
  26. ?>
  27. </div><!-- .entry-content -->
  28. <?php require_once get_template_directory() . "/tpl/section-article-function.php";?>
  29. </article><!-- #post-## -->