Created
May 2, 2020 02:34
-
-
Save flexseth/c9d7a89a21db4a48a912bed74d0eac3f to your computer and use it in GitHub Desktop.
Add theme support for WooCommerce Lightboxes, Zoom, Other Image Enhancements
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
<?php | |
// Add product gallery support. | |
if ( class_exists( 'WooCommerce' ) ) { | |
add_theme_support( 'wc-product-gallery-lightbox' ); | |
add_theme_support( 'wc-product-gallery-slider' ); | |
add_theme_support( 'wc-product-gallery-zoom' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment