Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save generatepress/0d81e87b1ec4494023121f3ecc753ccd to your computer and use it in GitHub Desktop.
Save generatepress/0d81e87b1ec4494023121f3ecc753ccd to your computer and use it in GitHub Desktop.
Add WooCommerce 3.0 features to the theme
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' );
}
@iweell
Copy link

iweell commented May 26, 2017

hi , i new in this, how to know what name of betheme i used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment