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:
parent
89fd848037
commit
425752d8ff
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue