Created
April 5, 2017 21:06
-
-
Save generatepress/0d81e87b1ec4494023121f3ecc753ccd to your computer and use it in GitHub Desktop.
Add WooCommerce 3.0 features to the theme
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
add_action( 'after_setup_theme','tu_woocommerce_gallery' ); | |
function tu_woocommerce_gallery() { | |
// Add support for WC features | |
add_theme_support( 'wc-product-gallery-zoom' ); | |
add_theme_support( 'wc-product-gallery-lightbox' ); | |
add_theme_support( 'wc-product-gallery-slider' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi , i new in this, how to know what name of betheme i used?