How work this function?
This function allows you to display the form to log in to the my account page with a shortcode. That is, you can add the form for customers to log in and register in your store, anywhere on the my account page, without the need to use the shortcode that WooCommerce has by default. You can also adjust which page to redirect the user to after logging in or registering.
How to configure?
Once you have created the custom account page, just follow these steps:
1º Activate the function making the slider show in green
2º It displays the advanced options of the function
3º Copy the shortcode by clicking on the button
4º Configure redirection options
5º Scroll to the end, where you will find the button to save the settings
For a correct use of the function it is necessary to take into account:
This shortcode will work on the account page or any page, posts, product page…
You can choose the page to redirect the user after login.
Since v.1.9.3 this function include a new option for redirect the user to the previously visited page instead of a specific page. Just need activate the option and that all!
Video
If you want to expand the possibilities of your account page, you can do it with the following functions included in this section.