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:
Akash Soni 2017-04-16 01:26:38 +05:30 committed by GitHub
parent 5a7dd4938d
commit e17e7f38bd
1 changed files with 1 additions and 1 deletions

View File

@ -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.