Password Reset Form Shortcodes - ProfilePress

Password Reset Form Shortcodes

If you want to use the shortcode builder to create a custom reset password form, below are shortcodes to add fields to the form.

[user-login]

Displays the username/email address field.

Besides the attributes listed below, the shortcodes above also accept any HTML attribute you specify.

Attribute Description
class Specify the class name for the field.
id Specify the unique id for the field.
placeholder Specify a placeholder for the field.

[reset-submit]

Displays the submit button. Besides the attributes listed below, it also accepts any HTML attribute you specify.

Attribute Description
class Specify the class name for the field.
id Specify the unique id for the field.
value The label for the submit button.
processing_label Text displayed on the submit button when form is submitted.

Password Reset Handler Form

Below are the available shortcodes for the handler form that actually save the passwords of users.

[enter-password]

Displays the field for users to enter their new password.

[re-enter-password]

Displays the field for users to re-enter their new password.

Besides the attributes listed below, the shortcodes above also accept any HTML attribute you specify.

Attribute Description
class Specify the class name for the field.
id Specify the unique id for the field.
placeholder Specify a placeholder for the field.

[reset-password-meter]

Displays the password strength meter.

Attribute Description
enforce Accepts true or false. If true, the form submit button will be disabled unless the password strength is strong.

[password-reset-submit]

Displays the submit button. Besides the attributes listed below, it also accepts any HTML attribute you specify.

Attribute Description
class Specify the class name for the field.
id Specify the unique id for the field.
value The label for the submit button.
processing_label Text displayed on the submit button when form is submitted.