Created
February 26, 2015 04:01
-
-
Save elitteral/a655d4b078d34ad23006 to your computer and use it in GitHub Desktop.
Cause Divi to show the Add To Cart buttons on the Shop page when using the WooCommerce plugin
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
/* | |
* Divi WordPress Theme and WooCommerce plugin | |
* Make the Add To Cart buttons appear on the WooCommerce shop page. | |
*/ | |
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are my hero <3