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' ); ?>     - - - - + + + + @@ -56,7 +56,7 @@ do_action( 'woocommerce_before_cart' ); ?> echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '×', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), - __( 'Remove this item', 'woocommerce' ), + __( 'Remove this item', 'understrap' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php index 2384631a..5af1f424 100644 --- a/woocommerce/myaccount/downloads.php +++ b/woocommerce/myaccount/downloads.php @@ -59,7 +59,7 @@ do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?> diff --git a/woocommerce/myaccount/my-address.php b/woocommerce/myaccount/my-address.php index ada4a174..fc8f3650 100644 --- a/woocommerce/myaccount/my-address.php +++ b/woocommerce/myaccount/my-address.php @@ -25,12 +25,12 @@ $customer_id = get_current_user_id(); if ( ! wc_ship_to_billing_address_only() && wc_shipping_enabled() ) { $get_addresses = apply_filters( 'woocommerce_my_account_get_addresses', array( - 'billing' => __( 'Billing address', 'woocommerce' ), - 'shipping' => __( 'Shipping address', 'woocommerce' ), + 'billing' => __( 'Billing address', 'understrap' ), + 'shipping' => __( 'Shipping address', 'understrap' ), ), $customer_id ); } else { $get_addresses = apply_filters( 'woocommerce_my_account_get_addresses', array( - 'billing' => __( 'Billing address', 'woocommerce' ), + 'billing' => __( 'Billing address', 'understrap' ), ), $customer_id ); } @@ -39,7 +39,7 @@ $col = 1; ?>

- +

'; ?> @@ -49,7 +49,7 @@ $col = 1;

- +
countries->get_formatted_address( $address ); if ( ! $formatted_address ) - _e( 'You have not set up this type of address yet.', 'woocommerce' ); + _e( 'You have not set up this type of address yet.', 'understrap' ); else echo $formatted_address; ?> diff --git a/woocommerce/myaccount/orders.php b/woocommerce/myaccount/orders.php index 60378ced..1b9bdaa5 100644 --- a/woocommerce/myaccount/orders.php +++ b/woocommerce/myaccount/orders.php @@ -107,11 +107,11 @@ do_action( 'woocommerce_before_account_orders', $has_orders ); ?> max_num_pages ) : ?>
- + max_num_pages ) !== $current_page ) : ?> - +