Adding Woocommerce 3.0.0 Product Gallery Support
Gallery slider needs Flexslider - https://woocommerce.com/flexslider/. Holger will need to make the decision if this is to be implemented.
This commit is contained in:
parent
d0175f7b86
commit
363776ccd2
|
@ -11,6 +11,14 @@ if ( ! function_exists( 'woocommerce_support' ) ) {
|
||||||
*/
|
*/
|
||||||
function woocommerce_support() {
|
function woocommerce_support() {
|
||||||
add_theme_support( 'woocommerce' );
|
add_theme_support( 'woocommerce' );
|
||||||
|
|
||||||
|
// 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' );
|
||||||
|
|
||||||
// hook in and customizer form fields.
|
// hook in and customizer form fields.
|
||||||
add_filter( 'woocommerce_form_field_args', 'wc_form_field_args', 10, 3 );
|
add_filter( 'woocommerce_form_field_args', 'wc_form_field_args', 10, 3 );
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue