Last active
February 17, 2023 11:22
-
-
Save ibndawood/34744d6cd3bc45e41385ac7b3c977011 to your computer and use it in GitHub Desktop.
WooCommerce - Remove h2 tag from product title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Show the product title in the product loop. By default this is an H2. | |
*/ | |
function woocommerce_template_loop_product_title() { | |
?><span class="<?php echo esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ); ?>"><?php the_title(); ?></span><?php | |
} |
Thank you very much my friend! It works perfectly!
Best regards!
You are welcome
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much my friend! It works perfectly!
Best regards!