wrap product category title and description into header element

This commit is contained in:
opportus 2016-07-04 17:51:59 +02:00
parent d0865bdcc7
commit 87020debe4
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ get_header( 'shop' ); ?>
do_action( 'woocommerce_before_main_content' );
?>
<header class="archive-product-header">
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
@ -48,6 +50,8 @@ get_header( 'shop' ); ?>
do_action( 'woocommerce_archive_description' );
?>
</header>
<?php if ( have_posts() ) : ?>
<?php