2014-08-17 16:55:38 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying all single posts.
|
|
|
|
*
|
|
|
|
* @package storefront
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary" class="content-area">
|
|
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
|
2014-08-18 13:23:00 +01:00
|
|
|
<?php
|
|
|
|
do_action( 'storefront_single_post_before' );
|
2014-08-17 16:55:38 +01:00
|
|
|
|
2014-08-18 13:23:00 +01:00
|
|
|
get_template_part( 'content', 'single' );
|
2014-08-17 16:55:38 +01:00
|
|
|
|
2014-08-18 13:23:00 +01:00
|
|
|
/**
|
|
|
|
* @hooked storefront_post_nav - 10
|
2015-10-24 05:12:18 -05:00
|
|
|
* @hooked storefront_display_comments - 10
|
2014-08-18 13:23:00 +01:00
|
|
|
*/
|
|
|
|
do_action( 'storefront_single_post_after' );
|
2014-08-17 16:55:38 +01:00
|
|
|
?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
|
|
|
|
</main><!-- #main -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
2014-08-28 18:25:08 +01:00
|
|
|
<?php do_action( 'storefront_sidebar' ); ?>
|
2015-10-24 05:12:18 -05:00
|
|
|
<?php get_footer(); ?>
|