mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
full width template
This commit is contained in:
parent
a9d17499cb
commit
83c5e97086
1 changed files with 8 additions and 4 deletions
|
@ -14,13 +14,17 @@ get_header(); ?>
|
|||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php
|
||||
do_action( 'storefront_page_before' );
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template
|
||||
if ( comments_open() || '0' != get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
/**
|
||||
* @hooked storefront_display_comments - 10
|
||||
*/
|
||||
do_action( 'storefront_page_after' );
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue