Last active
April 22, 2021 06:30
-
-
Save hakikz/6f5776350b7749a123a57f923376da43 to your computer and use it in GitHub Desktop.
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 | |
function wvs_noo_mebla_theme_support() { | |
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 ); | |
add_action( 'woocommerce_after_shop_loop_item_title2', 'wvs_pro_archive_variation_template', 10 ); | |
add_action( 'woocommerce_after_shop_loop_item_title', 'wvs_pro_archive_variation_template', 10 ); | |
add_action( 'woocommerce_after_shop_loop_item_title2', 'woocommerce_template_loop_add_to_cart', 11 ); | |
// remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10); | |
} | |
add_action( 'init', 'wvs_noo_mebla_theme_support' ); |
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
.noo-loop-cart { | |
display: none; | |
} |
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 wc_product_class( ' ', $product ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment