woocommerce_show_page_title filter closes #2850

This commit is contained in:
Mike Jolley 2013-04-05 13:01:41 +01:00
parent e6c66f72c9
commit d5480ba408
3 changed files with 12 additions and 3 deletions

View File

@ -189,6 +189,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Tweak - Product column widths in admin
* Tweak - .shipping_address clears to avoid flash of ugliness in some themes when revealing shipping address
* Tweak - created an icon font for the star ratings to improve consistency
* Tweak - woocommerce_show_page_title filter
* Localisation - NZ States
= 2.0.5 - 26/03/2013 =

View File

@ -23,7 +23,11 @@ get_header('shop'); ?>
do_action('woocommerce_before_main_content');
?>
<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php do_action( 'woocommerce_archive_description' ); ?>

View File

@ -36,9 +36,13 @@ if ( ! function_exists( 'woocommerce_content' ) ) {
endwhile;
} else {
} else { ?>
?><h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php do_action( 'woocommerce_archive_description' ); ?>