Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function newspaperss_setup_fix(){
- remove_action('woocommerce_before_shop_loop_item', 'newspaperss_woocommerce_before_shop_loop_item', 10);
- add_action('woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10);
- remove_action('woocommerce_after_shop_loop_item', 'newspaperss_woocommerce_after_shop_loop_item', 20);
- add_action('woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5);
- }
- add_action('after_setup_theme', 'newspaperss_setup_fix', 100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement