diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php
index eb00bfeaa02..248261aadd2 100644
--- a/includes/wc-template-functions.php
+++ b/includes/wc-template-functions.php
@@ -532,8 +532,10 @@ if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
/**
* Show the product title in the product loop. By default this is an H3.
*/
- function woocommerce_template_loop_product_title() {
- echo '
' . get_the_title() . '
';
+ function woocommerce_template_loop_product_title() {
+ $tag = is_product_taxonomy() || is_shop() ? 'h2' : 'h3';
+
+ echo '<' . $tag . '>' . get_the_title() . '' . $tag . '>';
}
}
if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
@@ -543,14 +545,14 @@ if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
*/
function woocommerce_template_loop_category_title( $category ) {
?>
-
+
name;
if ( $category->count > 0 )
echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category );
?>
-
+
have_comments() ? __( 'Add a review', 'woocommerce' ) : sprintf( __( 'Be the first to review “%s”', 'woocommerce' ), get_the_title() ),
- 'title_reply_to' => __( 'Leave a Reply to %s', 'woocommerce' ),
+ 'title_reply_to' => __( 'Leave a Reply to %s', 'woocommerce' ),
+ 'title_reply_before' => '',
'comment_notes_after' => '',
'fields' => array(
'author' => '
+
+
diff --git a/templates/single-product/tabs/description.php b/templates/single-product/tabs/description.php
index a2d41b22983..810afe2810f 100644
--- a/templates/single-product/tabs/description.php
+++ b/templates/single-product/tabs/description.php
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
global $post;
-$heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) );
+$heading = esc_html( apply_filters( 'woocommerce_product_description_heading', sprintf( __( 'Description for %s', 'woocommerce' ), get_the_title() ) ) );
?>
diff --git a/templates/single-product/tabs/tabs.php b/templates/single-product/tabs/tabs.php
index 7d40623e680..5a286779cac 100644
--- a/templates/single-product/tabs/tabs.php
+++ b/templates/single-product/tabs/tabs.php
@@ -39,9 +39,9 @@ if ( ! empty( $tabs ) ) : ?>
$tab ) : ?>
-
+
+
diff --git a/templates/single-product/up-sells.php b/templates/single-product/up-sells.php
index 6b9a59dac5c..e40565d2e5f 100644
--- a/templates/single-product/up-sells.php
+++ b/templates/single-product/up-sells.php
@@ -43,7 +43,7 @@ $woocommerce_loop['columns'] = apply_filters( 'woocommerce_up_sells_columns', $c
if ( $products->have_posts() ) : ?>
-
+
@@ -57,7 +57,7 @@ if ( $products->have_posts() ) : ?>
-
+