Created
April 7, 2015 13:36
-
-
Save thecodepoetry/1f33ab9f0c86a83f1415 to your computer and use it in GitHub Desktop.
Add to cart button on shop
This file contains hidden or 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
| //add this code in functions.php | |
| add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); | |
| //and add this rule in Theme options > General > CUstom CSS | |
| .project-list-content a.add_to_cart_button:after { | |
| display: none; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment