Introduction
The Gravity Forms User Registration Add-On adds shortcode actions that extend the built-in gravityform shortcode. See also the article on the user information shortcode.
Shortcode Actions
login
Requires: User Registration Add-On.
Displays the login form.
Example
[gravityform action="login" description="false" logged_in_message="Yay! You are logged in!" registration_link_text="Register for my super awesome site" forgot_password_text="Stop forgetting your password" theme="orbital" /]
Parameters
| Parameter | Description | Default |
|---|---|---|
title | Whether to display the form title. | true |
description | Whether to display the form description. | false |
logged_in_avatar | Whether to display the user avatar for logged-in users. | true |
logged_in_message | A message to display to users who are already logged in. | — |
login_redirect | A URL to redirect the user to after logging in. | — |
logout_redirect | A URL to redirect the user to after logging out. | — |
registration_link_display | Whether to display the registration link. | true |
registration_link_text | The text for the registration link. | Register |
forgot_password_display | Whether to display the Forgot Password link. | true |
forgot_password_text | The text for the Forgot Password link. | Forgot Password |
tabindex | A custom tabindex for the form. | — |
theme | The theme to apply to the login form. Accepts orbital or gravity. | — |
Note: Legacy markup is no longer supported on the login form. Use the theme parameter to control styling instead. You can also use the gform_user_registration_login_form_title filter to modify the login form title.