storefront/template-fullwidth.php

32 lines
584 B
PHP
Raw Normal View History

2014-08-17 16:55:38 +01:00
<?php
/**
* The template for displaying full width pages.
*
* Template Name: Full width
*
* @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-17 16:55:38 +01:00
2014-08-22 19:29:14 +01:00
do_action( 'storefront_page_before' );
get_template_part( 'content', 'page' );
2014-08-17 16:55:38 +01:00
2014-08-22 19:29:14 +01:00
/**
* @hooked storefront_display_comments - 10
*/
do_action( 'storefront_page_after' );
2014-08-17 16:55:38 +01:00
endwhile; // end of the loop. ?>
2014-08-17 16:55:38 +01:00
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>