diff --git a/gulpfile.js b/gulpfile.js index 047f5b74..a2af9e9a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -243,7 +243,7 @@ gulp.task('copy-assets', ['clean-source'], function() { // Run // gulp dist -// Copies the files to the /dist folder for distributon +// Copies the files to the /dist folder for distributon as simple theme gulp.task('dist', ['clean-dist'], function() { gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**','!dist-product','!dist-product/**','!sass','!sass/**','!readme.txt','!readme.md','!package.json','!gulpfile.js','!CHANGELOG.md','!.travis.yml','!jshintignore', '!codesniffer.ruleset.xml', '*']) .pipe(gulp.dest('dist/')) @@ -256,9 +256,9 @@ gulp.task('clean-dist', function () { // Run // gulp dist-product -// Copies the files to the /dist folder for distributon +// Copies the files to the /dist-prod folder for distributon as theme with all assets gulp.task('dist-product', ['clean-dist-product'], function() { - gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**','!dist-product','!dist-product/**', '*']) + gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!dist','!dist/**','!dist-product','!dist-product/**', '*']) .pipe(gulp.dest('dist-product/')) }); diff --git a/inc/woocommerce.php b/inc/woocommerce.php index 157fcf49..e019e1d2 100644 --- a/inc/woocommerce.php +++ b/inc/woocommerce.php @@ -10,7 +10,7 @@ if ( ! function_exists( 'woocommerce_support' ) ) { * Declares WooCommerce theme support. */ function woocommerce_support() { - add_theme_support( 'woocommerce' ); + add_theme_support( 'understrap' ); // Add New Woocommerce 3.0.0 Product Gallery support add_theme_support( 'wc-product-gallery-lightbox' ); diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index 91521c54..9a33d541 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -32,10 +32,10 @@ do_action( 'woocommerce_before_cart' ); ?>
- +
'; ?> @@ -49,7 +49,7 @@ $col = 1;