You have the ability to insert a specific Login Form Mergecode onto any page or post which will display the login form on the live site.
The Login Form Mergecode is available in two formats:
- Standard Login Form Mergecode:
[wlm_loginform]
- Login Form Mergecode with Ajax error message option:
[wlm_loginform ajax_login=1]
Either format will display the same login form on the site.
—
But the error message/redirect that occurs when a failed login attempt happens is different for the two Login Mergecode formats.
[wlm_loginform] If the standard Login Form Mergecode option is used, the user will be redirected to the WordPress login page if their login attempt fails.
—
[wlm_loginform ajax_login=1] If the Login Form Mergecode with Ajax error message option is used, the user will remain on the same login page and will see the error message above the form if their login attempt fails.
—
Inserting the Login Form Mergecode
Adding that mergecode to the content section of a page or post will insert a login form.
Note: This does not need to be added to the HTML of a page or post. It can simply be added to the content area.
There is also a Mergecode and Shortcode insert option that appears on Pages and Posts when using the WordPress Gutenberg editor. (Another option to generate and copy a shortcode or mergecode is the Shortcode Creator found on the WishList Member Dashboard)
—
The blue WishList Member code inserter icon appears on the Classic Block of the Gutenberg editor and can be used to add mergecodes and shortcodes to a page or post.
—
—
More details on specific mergecodes and shortcodes are explained in the Mergecodes and Shortcodes article.