wrap product category title and description into header element
This commit is contained in:
parent
d0865bdcc7
commit
87020debe4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue