Fix theme support for WooCommerce
Looks like the add_theme_support() call should be 'woocommerce' and not 'understrap'.
This commit is contained in:
parent
ef84a7cac6
commit
447674355c
|
@ -15,7 +15,7 @@ if ( ! function_exists( 'understrap_woocommerce_support' ) ) {
|
||||||
* Declares WooCommerce theme support.
|
* Declares WooCommerce theme support.
|
||||||
*/
|
*/
|
||||||
function understrap_woocommerce_support() {
|
function understrap_woocommerce_support() {
|
||||||
add_theme_support( 'understrap' );
|
add_theme_support( 'woocommerce' );
|
||||||
|
|
||||||
// Add New Woocommerce 3.0.0 Product Gallery support.
|
// Add New Woocommerce 3.0.0 Product Gallery support.
|
||||||
add_theme_support( 'wc-product-gallery-lightbox' );
|
add_theme_support( 'wc-product-gallery-lightbox' );
|
||||||
|
|
Reference in New Issue