Updates product title in product loop commenting

Commenting indicated the product title in the product loop was enclosed in an `<h3>`, when the code was actually printing an `<h2>`.
This commit is contained in:
Gareth 2017-04-07 09:55:48 +02:00 committed by GitHub
parent 89fd848037
commit 425752d8ff
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ if ( ! function_exists( 'woocommerce_product_loop_end' ) ) {
if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
/**
* Show the product title in the product loop. By default this is an H3.
* Show the product title in the product loop. By default this is an H2.
*/
function woocommerce_template_loop_product_title() {
echo '<h2 class="woocommerce-loop-product__title">' . get_the_title() . '</h2>';