Declare woocommerce support.

This commit is contained in:
Jason King 2017-05-03 14:22:35 +09:30 committed by GitHub
parent 13d23ec063
commit ce3a75698d
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if ( ! function_exists( 'woocommerce_support' ) ) {
* Declares WooCommerce theme support.
*/
function 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' );