Consistence

Way to remove complete <h2> tag also consistence syntax like templates/single-product/tabs/additional-information.php
This commit is contained in:
Adrian Dimitrov 2014-05-06 23:12:09 +03:00
parent 9665239ba7
commit 7de8b10428
1 changed files with 4 additions and 2 deletions

View File

@ -14,6 +14,8 @@ global $woocommerce, $post;
$heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) );
?>
<h2><?php echo $heading; ?></h2>
<?php if ( $heading ): ?>
<h2><?php echo $heading; ?></h2>
<?php endif; ?>
<?php the_content(); ?>
<?php the_content(); ?>