storefront/single.php

34 lines
667 B
PHP
Raw Normal View History

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
* @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' ); ?>
<?php get_footer(); ?>