Edit Profile Form Shortcodes
If you want to use the shortcode builder to create a frontend WordPress edit profile form, below are shortcodes to add fields to the form.
Table of Contents
[edit-profile-username]
Displays the username field.
[edit-profile-password]
Displays the password field.
[edit-profile-confirm-password]
Displays the password confirmation field.
[edit-profile-email]
Displays the email address field.
[edit-profile-confirm-email]
Displays the email confirmation field.
[edit-profile-website]
Displays the website field.
[edit-profile-nickname]
Displays the nickname field.
[edit-profile-display-name]
Displays the display-name field.
[edit-profile-first-name]
Displays the first-name field.
[edit-profile-last-name]
Displays the last-name field.
[reg-nickname]
Displays the nickname field.
[edit-profile-bio]
Displays the biography field.
[edit-profile-avatar]
Displays the profile picture or avatar upload field.
[edit-profile-cover-image]
Displays the profile cover-image upload 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. |
[edit-profile-cpf]
Displays a custom-field‘s field.
Besides the attributes listed below, the shortcodes above also accept any HTML attribute you specify.
Attribute | Description |
---|---|
key | Field key of the custom field. |
class | Specify the class name for the field. |
id | Specify the unique id for the field. |
[edit-profile-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. |
[pp-remove-avatar-button]
Displays the button for removing profile pictures of avatars of users.
[pp-remove-cover-image-button]
Displays the button for removing cover images of users.
Attribute | Description |
---|---|
label | Label for the button. |
class | Specify the class name for the field. |
id | Specify the unique id for the field. |
[edit-profile-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. |