----------------------------------------------------------------------------------------------------------------------
Woo Shortcodes Kit v 1.7.2 (11/02/19) by Alberto G. - https://disespubli.com/

Included:

= 1.7.2 =
 *Changelog (11/02/19)

+ Fixed the issue with the shortcode [woo_bought_products] for "Display the bought products by the current user" - now is working correctly with WooCommerce 3.5.4

+ Added input for limit the shortcode [woo_review_products] for "Display the user reviews with product link", now you can set a limit for display just this number of reviews.

+ Added compatibility with WooCommerce Subscriptions, now the plugin is prepared for work correctly with WC Subscriptions. If you are using Custom Blocks & Redirections for WSHK it will be compatible too and will make the related orders and related subscriptions links compatibles with you order-list container.


= 1.7.1 =
 *Changelog (03/01/19)

+ Updated - Login-form.php template now is updated to the v.3.5.0 and have a additional function for the lost password link, taking automaticly the account page url + the lost password endpoint for display the full lost password link.
+ NEW FUNCTION ADDED - Enable for add security headers in your website (Now you can prevent your website of hijacking attacks with just a click)
+ NEW FUNCTION ADDED - Enable for skip Cart Go straight to Checkout page (Now you can send the customers directly to the checkout page after successfull addition)


= 1.7.0 =
 *Changelog (10/09/18)

+ Fixed - translation issue in the function Display all reviews where you want
+ Fixed - Now the comments display the author gravatar image
+ Fixed - Now the Woo Shortcodes kit settings page display the correct version

= 1.6.9 =
 *Changelog (13/08/18)

+ Compatibility with WooCommerce 3.4.4
+ Templates updated:
	Form-add-payment-method.php
	Form-edit-address.php
	Form-login.php
+ Added class to logout button in function display logout button with a shortcode (class="wshkclose")
+ Added class to view product button in function display user reviews with a shortcode (class="wshkcomment")
+ Added option for customize the text color in function DISPLAY ALL THE REVIEWS WHERE YOU WANT
+ Added options to solve the fails with the counters result positions.
+ Disabled printf in the code to display the custom message, now just display in your custom position.
+ Gravatar image of the DISPLAY GRAVATAR IMAGE function now work correctly again taking the userd ID for display the image.
+ Fixed some error in the text of the CUSTOM THANK YOU PAGES function


= 1.6.8 =
 *Changelog (12/06/18)


 + Solved the issue with the order-again template, now work again with WooCommerce default template.
 + Solved the issue with the counters, now when you make a new order or review you dont will get the design broken.
 + Template updated: form-edit-account, now display the new WooCommerce display username field .
 + NEW FUNCTION ADDED: Hide login error, you can find it on ADD SECURITY AND RESTRICT CONTENT section.

 + NEW SECTION ADDED: WooCommerce additional settings 
 + NEW FUNCTION ADDED: Auto complete the orders, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
 + NEW FUNCTION ADDED: Custom Thank you pages, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
 + NEW FUNCTION ADDED: Custom shop page, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
    - The carts buttons to back to the shop, will follow working taking you custom shop page slug to redirect.
 + NEW FUNCTION ADDED: Display Name and surname fields in register form, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
    - The data will be displayed automaticlly in the edit account form too.
 + NEW FUNCTION ADDED: Terms and Conditions checkbox, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.

 + NEW SECTION ADDED: ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW
 + NEW FUNCTION ADDED: Global settings and user information , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WordPress Comments , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WooCommerce checkout , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section
 + NEW FUNCTION ADDED: GPRD on WooCommerce reviews , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WooCommerce register form , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
    - Now when a user will be registered the admin will receive a email automaticlly to know the notice and meet the customer Name, surname and email. Include the GPRD verification message. 

 + NEW SHORTCODE ADDED: Display the user IP, you can find it in the shortcodes page and not need activation
 + NEW SHORTCODE ADDED: Display the user Name and surname, you can find it in the shortcodes page and not need activation
 + NEW SHORTCODE ADDED: Display the user Email, you can find it in the shortcodes page and not need activation
 + NEW BADGE ADDED for the news settings boxs, now you can see easilly the new functions added in WSHK settings page.


= 1.6.7 =
 *Changelog (13/05/18)
 
+ Tested and working with WordPress 4.9.5
+ Testes and working with WooCommerce 3.3.5
+ Prepared to work with the another new addon that is comming soon!
+ Style: Settings text size was reduced
+ Function: Display the username now have a dropdown field to choose between 3 differents options to display.
+ Function: Display user Gravatar now work correctly and look for the user ID or EMAIL to show the image.
+ Function: Display the user reviews now the user Gravatar work correctly and look for the user ID or EMAIL to show the image.
+ Templates updates to the last version 3.3.0

VERY IMPORTANT! if you was using some "Build my account shortcodes" now need update the shortcodes. Please look for the NEW badges in the shortcodes panel and copy the new shortcode to update in your pages.


= 1.6.6 =
 *Changelog (12/02/18)

+ New Admin design more ordered.
+ New Shortcodes Filter
+ 10 new shortcodes
+ 1 new function made from zero **Display all the product reviews everywhere!**
+ Added product title (linked) in user reviews shortcode
+ Added text align control in total orders, products and reviews counters.
+ Changed the username shortcode, now display the client name.
+ The logout shortcode now let add a custom redirection after user logout
+ The login/register form now work 100% how the original and let access to the Lost password link and reset password page.

+ Prepared to work with the new addon that is comming soon!

VERY IMPORTANT! if you was using some "Build my account shortcodes" now need update the shortcodes. Please look for the NEW badges in the shortcodes panel and copy the new shortcode to update in your pages.

= 1.6.5 =
 *Changelog (11/12/17)

Fixed improvements - WORKING 100%

= 1.6.4 =
 * Changelog (11/12/17)

**NEW FUNCTION! added**: Exclude products categories from shop page 
**NEW FUNCTION! added**: Custom menu for logged in users and other for non logged in users
**NEW FUNCTION! added**: Let add shortcodes in menu item titles
**NEW FUNCTION! added**: Display username in menu (with a special shortcode)

Removed: Dashicons from plugin in backend plugins page.
Updated: Translations en_EN and es_ES
Tested with WordPress v4.9.1
Tested with WooCommerce v3.2.5

= 1.6.3 =
 * Changelog (11/11/17)

**BE CAREFUL!** if you are using the Login form function, after this update you MUST CHANGE the old "myaccount" slug with the page slug to redirect. 

For example: 

In v1.6.2 and olders you had wrote in the field: myaccount

Now in v.1.6.3 you need write in the field: the-custom-page-slug 

Changes:

 Login form function: Now let write your custom page slug to redirects the users where you want after the login.

 Tested and working with WordPress 4.8.3

 Tested and working with WooCommerce 3.2.3


= 1.6.2 =
 * Changelog (12/10/17)

Problem found by a WSHK's user: The function "Display only products of specifics categories in the shop page" hide the products in the categories page too.

Fixed: Now when you use this function it work only in the shop page, the products will follow displaying in the products categories pages. 


= 1.6.1 = 
 * Changelog (09/10/17)

Back to use the old method to get the login form template.

New text-domain and translation method added, now the plugin get your site language by default! 

Is your site language is English the plugin will show all in English and if your site is Spanish, the plugin will be translated automaticlly



= 1.6 = 
 * Changelog (07/10/17)

**WSHK IS INTERNAZIONALIZED!**

Now the plugin have the English template base and the Spanish translation ready to use.

You can translate the plugin in your own language with the English template.

**PHP WARNING ALERT SOLVED!**

Now the plugin work 100% fine without errors or warnings:

**CHANGE ADD TO CART FUNCTION**

The default products text has been deleted

**CHANGE IN DISPLAY PRODUCTS BY CATEGORY IN SHOP PAGE**

Now the fields of this function display a better look to be compatible with the spanish language too.

**NEW LINK IN PLUGINS PAGE**

Now you can view a new icon to access directly to the vide guides!



Woo Shortcodes Kit v 1.5 (01/09/17) by Alberto G. - https://disespubli.com/

Included:

= 1.5 = 
 * Changelog (01/09/17)

**NEW SHORTCODES ADDED**

You can use the shortcodes in any page or post, but in some ones you need Enable & Customize it from "Settings" | CUSTOMIZE THE SHORTCODES and expand the box to see the advanced options.


1) Show to a user the products that have bought, with this Shortcode: [woo_bought_products]

2) Show the user Gravatar image, with this Shortcode: [woo_gravatar_image] 

You can customize the style to get your own:

+ Change the Gravatar size and add a shadow
+ Change the Gravatar border ( size | type | color | radius )

3) Show the total bought products by user, with this Shortcode: [woo_total_bought_products]

You can customize the text for the differents cases: prefix, singular & plural suffix, when dont have bought any product.

4) If you want show the total orders made by user, use this Shortcode: [woo_customer_total_orders]

You can customize the text for the differents cases: prefix, singular & plural suffix, when dont have made any order.

5) If you want show the total reviews made by a user, use this Shortcode: [woo_total_count_reviews]

You can customize the text for the differents cases: prefix, singular & plural suffix, when dont have made any review.

6) If you want show the products reviews made by a user, use this Shortcode: [woo_review_products]

You can customize the style to get your own: 

+ Change the avatar: size, border ( size | radius | type | color ), cell with and shadow.
+ Change the box: Font size, border ( size | radius | type | color ) , background color and padding
+ Change the button: Border ( size | radius | type | color ) , target, text-decoration and text

7) If you want show the username in any page or post, use this shortcode: [woo_user_name]

You can customize the style to get your own:		

+ Add a text prefix.
+ Add a text suffix.
+ Change the Font ( color | size ) and text-align

8) If you want show a message if the user made a number of orders, use this Shortcode: [woo_message]

You can customize:

+ Write a custom (html/text) message to display if the use have X orders.
+ Set the number of orders to display the message
+ Set the custom text to display if the customer not have orders made yet
+ Set the custom text to display if the customer have more orders

9) If you want display the customer billing address in any post or page, use this Shortcode: [woo_billing_address]

10) If you want display the customer shipping address in any post or page, use this Shortcode: [woo_shipping_address]

11) If you want display the customer edit account form in any post or page, use this Shortcode: [woo_edit_myaccount]

12) If you want display the Login & Register form in any post or page, use this Shortcode: [woo_login_form]

You can redirects the users after the login to a custom page. Just need write the WooCommerces "my-custom-account" page slug.

You can block the access to myaccount page if the user are not logged in and redirect to a custom page. Just need write the WooCommerce's myaccount page slug. By default is: myaccount

*You need set your custom "myaccount page" how the WooCommerce's account page!
To do it, just need go to WooCommerce's settings and look for in the main the accounts section. Now select your new & custom myaccount page how "My account page" in WooCommerce and save the changes!

13) If you want display the Logout button in any post or page, use this Shortcode: [woo_logout_button]

By default take the theme style, but you can customize the button a few more to get your own style:

+ Change the button border ( size | radius | type | color )
+ Change the button ( text | text-decoration | text-align | width)
	
**NEW FUNCTIONS ADDED**

The functions just need be enabled to work, sometimes you need put a shortcode to display the function content. Now you can see all grouped by categories.

**CUSTOMIZE THE ADD TO CART BUTTON**

0) Advanced option included for the function: Product thumbnail in email orders

Now you can set the thumbnail size!

1) Enable Change the button text "Add to cart" if user have the product purchase
	
You can change the button text for display different if the user have bought the product.

2) Enable Change the Add to cart button text & write a different text in each case

You can change the button text for display different in each case:

+ External product
+ Grouped product
+ Simple product
+ Variable product
		

**CUSTOMIZE THE SHOP PAGE**

3) Enable Display only products of specifics categories in shop page

You can write the slug othe categories that you want display in your shop page (3 categories max.)

4) Enable Product Downloads/Sales Counter

Now you can set individually the minimun number of sales and downloads that a product must have to show the message. 
Can set a different text if is a downloable product or normal. Just enable the function checking the box and write the number in the text box. 
By default the message appear in all products.

**CUSTOMIZE THE SHORTCODES (THE ADDONS)**

5) Enable for Display & Change the customer total bought products texts + advanced options
6) Enable for Display & Change the customer total orders texts + advanced options
7) Enable for Display & Change the customer total reviews texts + advanced options
8) Enable for Display & Change the text of Orders message + advanced options
9) Enable for Display the customer reviews with link to the product + advanced options
10) Enable for Display the username + advanced options
11) Enable for Display the Logout button + advanced options
12) Enable for Display the Login form + advanced options


**Tested & Running 100% with WordPress v4.8.1 | WooCommerce v3.1.2**

----------------------------------------------------------------------------------------------------------------------


= 1.4 = 
 * Changelog (11/07/17)


NEW FUNCTION

Products per page Manager, now you can customize the numbers of products to display in your Shop page. Just need enable the function and write the numbers of products to display.


NEW ADDON

Now you can set the minimun number of sales/downloads that a product must have to show the message.
Just enable the function checking the box and write the number in the text box. By default the message appear in all products.


**Tested & Running 100% with WordPress v4.8 | WooCommerce v3.1.0**

----------------------------------------------------------------------------------------------------------------------

== Upgrade Notice ==


= 1.7.2 =
 *Changelog (11/02/19)

+ Fixed the issue with the shortcode [woo_bought_products] for "Display the bought products by the current user" - now is working correctly with WooCommerce 3.5.4

+ Added input for limit the shortcode [woo_review_products] for "Display the user reviews with product link", now you can set a limit for display just this number of reviews.

+ Added compatibility with WooCommerce Subscriptions, now the plugin is prepared for work correctly with WC Subscriptions. If you are using Custom Blocks & Redirections for WSHK it will be compatible too and will make the related orders and related subscriptions links compatibles with you order-list container.


= 1.7.1 =
 *Changelog (03/01/19)

+ Updated - Login-form.php template now is updated to the v.3.5.0 and have a additional function for the lost password link, taking automaticly the account page url + the lost password endpoint for display the full lost password link.
+ NEW FUNCTION ADDED - Enable for add security headers in your website (Now you can prevent your website of hijacking attacks with just a click)
+ NEW FUNCTION ADDED - Enable for skip Cart Go straight to Checkout page (Now you can send the customers directly to the checkout page after successfull addition)


= 1.7.0 =
 *Changelog (10/09/18)

+ Fixed - translation issue in the function Display all reviews where you want
+ Fixed - Now the comments display the author gravatar image
+ Fixed - Now the Woo Shortcodes kit settings page display the correct version


= 1.6.9 =
 *Changelog (13/08/18)

+ Compatibility with WooCommerce 3.4.4
+ Templates updated:
	Form-add-payment-method.php
	Form-edit-address.php
	Form-login.php
+ Added class to logout button in function display logout button with a shortcode (class="wshkclose")
+ Added class to view product button in function display user reviews with a shortcode (class="wshkcomment")
+ Added option for customize the text color in function DISPLAY ALL THE REVIEWS WHERE YOU WANT
+ Added options to solve the fails with the counters result positions.
+ Disabled printf in the code to display the custom message, now just display in your custom position.
+ Gravatar image of the DISPLAY GRAVATAR IMAGE function now work correctly again taking the userd ID for display the image.
+ Fixed some error in the text of the CUSTOM THANK YOU PAGES function


= 1.6.8 =
 *Changelog (12/06/18)


 + Solved the issue with the order-again template, now work again with WooCommerce default template.
 + Solved the issue with the counters, now when you make a new order or review you dont will get the design broken.
 + Template updated: form-edit-account, now display the new WooCommerce display username field .
 + NEW FUNCTION ADDED: Hide login error, you can find it on ADD SECURITY AND RESTRICT CONTENT section.

 + NEW SECTION ADDED: WooCommerce additional settings 
 + NEW FUNCTION ADDED: Auto complete the orders, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
 + NEW FUNCTION ADDED: Custom Thank you pages, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
 + NEW FUNCTION ADDED: Custom shop page, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
    - The carts buttons to back to the shop, will follow working taking you custom shop page slug to redirect.
 + NEW FUNCTION ADDED: Display Name and surname fields in register form, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.
    - The data will be displayed automaticlly in the edit account form too.
 + NEW FUNCTION ADDED: Terms and Conditions checkbox, you can find it in WOOCOMMERCE ADDITIONAL SETTINGS section.

 + NEW SECTION ADDED: ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW
 + NEW FUNCTION ADDED: Global settings and user information , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WordPress Comments , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WooCommerce checkout , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section
 + NEW FUNCTION ADDED: GPRD on WooCommerce reviews , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
 + NEW FUNCTION ADDED: GPRD on WooCommerce register form , you can find it in ADAPT WORDPRESS AND WOOCOMMERCE TO THE NEW GPRD LAW section.
    - Now when a user will be registered the admin will receive a email automaticlly to know the notice and meet the customer Name, surname and email. Include the GPRD verification message. 

 + NEW SHORTCODE ADDED: Display the user IP, you can find it in the shortcodes page and not need activation
 + NEW SHORTCODE ADDED: Display the user Name and surname, you can find it in the shortcodes page and not need activation
 + NEW SHORTCODE ADDED: Display the user Email, you can find it in the shortcodes page and not need activation
 + NEW BADGE ADDED for the news settings boxs, now you can see easilly the new functions added in WSHK settings page.




= 1.6.7 =
 *Changelog (13/05/18)
 
+ Tested and working with WordPress 4.9.5
+ Testes and working with WooCommerce 3.3.5
+ Prepared to work with the another new addon that is comming soon!
+ Style: Settings text size was reduced
+ Function: Display the username now have a dropdown field to choose between 3 differents options to display.
+ Function: Display user Gravatar now work correctly and look for the user ID or EMAIL to show the image.
+ Function: Display the user reviews now the user Gravatar work correctly and look for the user ID or EMAIL to show the image.
+ Templates updates to the last version 3.3.0

VERY IMPORTANT! if you was using some "Build my account shortcodes" now need update the shortcodes. Please look for the NEW badges in the shortcodes panel and copy the new shortcode to update in your pages.


= 1.6.6 =
 *Changelog (12/02/18)

+ New Admin design more ordered.
+ New Shortcodes Filter
+ 10 new shortcodes
+ 1 new function made from zero **Display all the product reviews everywhere!**
+ Added product title (linked) in user reviews shortcode
+ Changed the username shortcode, now display the client name.
+ The logout shortcode now let add a custom redirection after user logout
+ The login/register form now work 100% how the original and let access to the Lost password link and reset password page.

+ Prepared to work with the new addon that is comming soon!

VERY IMPORTANT! if you was using some "Build my account shortcodes" now need update the shortcodes. Please look for the NEW badges in the shortcodes panel and copy the new shortcode to update in your pages.


= 1.6.5 =
 *Changelog (11/12/17)

Fixed improvements - WORKING 100%

= 1.6.4 =
 * Changelog (11/12/17)

**NEW FUNCTION! added**: Exclude products categories from shop page 
**NEW FUNCTION! added**: Custom menu for logged in users and other for non logged in users
**NEW FUNCTION! added**: Let add shortcodes in menu item titles
**NEW FUNCTION! added**: Display username in menu (with a special shortcode)

Removed: Dashicons from plugin in backend plugins page.
Updated: Translations en_EN and es_ES
Tested with WordPress v4.9.1
Tested with WooCommerce v3.2.5