Documentation

Front-end Membership Modules

Home / Reset Password Form Shortcode

Reset Password Form Shortcode

With this plugin you can allow users to recover or reset their password from the front end. This plugin comes with two different processes to handle recover password functionality.

  1. Users can receive their login information directly via email.
  2. Users will be sent a link to reset their password via email and they can create a new password by clicking that link.

Once you configure this plugin as per your requirements, you can use the following shortcode to display the recover password form on any page and select under page setup plugin settings.

Shortcode Parameters:

type
Select how would you like users to recover or reset their password.
(Default: ‘direct-logout’)
Options:
send-password 
: An email with login information will be sent to user.
create-new-password : An email with create new password link will be sent to the user.

user_login_label
This will replace the default username field label.
(Default: Username or Email address: )

required_text
This text will be added to the username label.
(Default: required)

button_text
This will replace the submit button text.
(Default: Login)

button_class
You can specify custom CSS classes for the submit button displayed on the registration form.
(Default: Can be changed from the plugin settings.)

class
You can specify custom CSS class for the form container, if you wish to use your own CSS for the form styles.

Using Shortcode Generator

You can use our Shortcode Generator to easily specify parameters and insert this shortcode on any page while editing a page or post.

shortcode-generator-password

 

Display reset password form in template files

If you are a developer or creating your own WordPress theme, you can call this shortcode via following PHP function: