Merge pull request #969 from chrisjimallen/master

Fix theme support for WooCommerce
This commit is contained in:
Holger 2019-05-09 06:15:02 +02:00 committed by GitHub
commit 4becdb504c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if ( ! function_exists( 'understrap_woocommerce_support' ) ) {
* Declares WooCommerce theme support.
*/
function understrap_woocommerce_support() {
add_theme_support( 'understrap' );
add_theme_support( 'woocommerce' );
// Add New Woocommerce 3.0.0 Product Gallery support.
add_theme_support( 'wc-product-gallery-lightbox' );