Change format of product link class.
In this class use capital characters, it's not good formate. So, I change that and create a new class " woocommerce-loop-product__link ". The example we use this class for loop product title tag " woocommerce-loop-product__title ". Thank.
This commit is contained in:
parent
5a7dd4938d
commit
e17e7f38bd
|
@ -605,7 +605,7 @@ if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
|
|||
* Insert the opening anchor tag for products in the loop.
|
||||
*/
|
||||
function woocommerce_template_loop_product_link_open() {
|
||||
echo '<a href="' . get_the_permalink() . '" class="woocommerce-LoopProduct-link">';
|
||||
echo '<a href="' . get_the_permalink() . '" class="woocommerce-loop-product__link">';
|
||||
}
|
||||
/**
|
||||
* Insert the opening anchor tag for products in the loop.
|
||||
|
|
Loading…
Reference in New Issue