Fix theme support for WooCommerce

Looks like the add_theme_support() call should be 'woocommerce' and not 'understrap'.
This commit is contained in:
Chris Allen 2019-05-08 20:56:21 +01:00 committed by GitHub
parent ef84a7cac6
commit 447674355c
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' );