Enable woocommerce product gallery slider by default.

This commit is contained in:
Jason King 2018-01-10 16:11:37 +10:30 committed by GitHub
parent 044f000028
commit 1bd7160dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -15,9 +15,7 @@ if ( ! function_exists( 'understrap_woocommerce_support' ) ) {
// Add New Woocommerce 3.0.0 Product Gallery support
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-zoom' );
// Gallery slider needs Flexslider - https://woocommerce.com/flexslider/
//add_theme_support( 'wc-product-gallery-slider' );
add_theme_support( 'wc-product-gallery-slider' );
// hook in and customizer form fields.
add_filter( 'woocommerce_form_field_args', 'understrap_wc_form_field_args', 10, 3 );