diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96eddfe..548ff4d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,17 @@
+ - ** Release 0.6.0 (skipping 0.5.8 and 0.5.9 ) Apr. 21th 2017 **
+ - Adding WooCommerce 3.0.0 support - Big thx @typeplus
+ - Add npm-debug.log to .gitignore file - thx @OussamaElgoumri
+ - Adding swedish translation files
+ - Fixing problems if both forms (login and register) are present
+ - Adding image optimization task to gulpfile - thx @VesterDe
+ - Removing old and unused BS4 Alpha 5 variables
+ - Include call to jQuery into if block - hx @wingertjp
+ - phpcs fixes - thx @typeplus
+ - Fixing col-1 problem on my account WooCommerce page
+ - Updating Font Awesome imports
+
+
- ** Release 0.5.7 Feb. 13th 2017 **
- Fixing WooCommerce base layout by reverting custom woocommerce integration and switch back to default integration
- Adding /js/ folder to watcher task excluding theme.js and theme.min.js
diff --git a/footer.php b/footer.php
index 92c5cdf..c9cd812 100644
--- a/footer.php
+++ b/footer.php
@@ -32,7 +32,7 @@ $container = get_theme_mod( 'understrap_container_type' );
get( 'Name' ), 'understrap.com' ); ?>
+ esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), 'understrap.com' ); ?>
(%link', _x( ' %title', 'Previous post link', 'understrap' ) );
+ previous_post_link( '%link', _x( ' %title', 'Previous post link', 'understrap' ) );
}
if ( get_next_post_link() ) {
- next_post_link( '%link', _x( '%title ', 'Next post link', 'understrap' ) );
+ next_post_link( '%link', _x( '%title ', 'Next post link', 'understrap' ) );
}
?>
diff --git a/inc/woocommerce.php b/inc/woocommerce.php
index 157fcf4..e019e1d 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/search.php b/search.php
index 90da8f0..cd3c645 100644
--- a/search.php
+++ b/search.php
@@ -25,8 +25,10 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php
index 91521c5..9a33d54 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/loop/add-to-cart.php b/woocommerce/loop/add-to-cart.php
index f8b12e1..4b1dc60 100644
--- a/woocommerce/loop/add-to-cart.php
+++ b/woocommerce/loop/add-to-cart.php
@@ -26,7 +26,7 @@ echo apply_filters( 'woocommerce_loop_add_to_cart_link',
sprintf( '%s',
esc_url( $product->add_to_cart_url() ),
esc_attr( isset( $quantity ) ? $quantity : 1 ),
- esc_attr( $product->id ),
+ esc_attr( $product->get_id() ),
esc_attr( $product->get_sku() ),
esc_html( $product->add_to_cart_text() )
),
diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php
index 2384631..5af1f42 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/form-login.php b/woocommerce/myaccount/form-login.php
index f3c338e..1399bfe 100644
--- a/woocommerce/myaccount/form-login.php
+++ b/woocommerce/myaccount/form-login.php
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
-
+
@@ -70,7 +70,7 @@ if ( ! defined( 'ABSPATH' ) ) {
-
+
diff --git a/woocommerce/myaccount/my-address.php b/woocommerce/myaccount/my-address.php
index ada4a17..fc8f365 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 60378ce..1b9bdaa 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 ) : ?>