Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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' );
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