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">
|
|
|
|
|
2016-01-21 10:50:49 +00:00
|
|
|
<?php while ( have_posts() ) : the_post();
|
2014-08-17 16:55:38 +01:00
|
|
|
|
2014-08-18 13:23:00 +01:00
|
|
|
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-26 05:21:55 -05:00
|
|
|
* @hooked storefront_display_comments - 20
|
2014-08-18 13:23:00 +01:00
|
|
|
*/
|
|
|
|
do_action( 'storefront_single_post_after' );
|
2014-08-17 16:55:38 +01:00
|
|
|
|
2016-01-21 10:50:49 +00:00
|
|
|
endwhile; // end of the loop. ?>
|
2014-08-17 16:55:38 +01:00
|
|
|
|
|
|
|
</main><!-- #main -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
2016-01-21 10:50:49 +00:00
|
|
|
<?php
|
|
|
|
do_action( 'storefront_sidebar' );
|
2016-02-04 13:16:31 +00:00
|
|
|
get_footer();
|