Created
May 13, 2022 19:11
-
-
Save chellestein/347501af1966becbbbd1852907489b91 to your computer and use it in GitHub Desktop.
Remove Price, Cart and Star Raiting from WooCommerce Archive Pages - Show Just the Image and 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
// Remove Price, Cart and Star Raiting from WooCommerce Archive Pages - Show Just the Image and Title | |
remove_action ('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); | |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart'); | |
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment