Login module
Purpose and when to use
The Login Form module provides a customizable login form for your membership site. Use it when you want members to log in from a specific page (e.g. a dedicated login page or within a layout) with control over remember me, lost password link, redirect, and layout.
- Remember me — Optional checkbox so users stay logged in between sessions.
- Lost password — Link to your password reset flow.
- Redirect — Send users to a specific page or custom URL after login.
Compatibility and performance notes
- Divi: Current Divi version with Divi Membership 2.0.x or later.
- WordPress: Uses standard WordPress authentication; compatible with most login-related plugins.
Add to page
- In the Divi Builder, add a new module and choose Login (under Divi Membership).
- Set Form Title and choose Show Remember Me? and Show Lost Password? as needed.
- Set Redirect Type (page or custom URL) and Redirect Page/URL for after login.
- Optionally customize Text Options (username, password, remember me, lost password, submit button labels).
- Adjust Layout Options (form columns, field labels, placeholders).
- Save and test login, remember me, and redirect.
Settings
| Setting | Type | Default | Depends On | Notes |
|---|---|---|---|---|
| Form Title | text | — | — | Title above the form. |
| Show Remember Me? | boolean | — | — | Show "Remember Me" checkbox. |
| Show Lost Password? | boolean | — | — | Show link to password recovery. |
| Redirect Type | select | page / custom URL | — | Where to send user after login. |
| Redirect Page/URL | page / text | — | Redirect Type | Target page or URL. |
| Username Text | text | — | — | Label or placeholder for username. |
| Password Text | text | — | — | Label or placeholder for password. |
| Remember Me Text | text | — | Show Remember Me | Label for remember me. |
| Lost Password Text | text | — | Show Lost Password | Link text for lost password. |
| Submit Button Text | text | — | — | Login button label. |
| Form Columns | select | 1 / 2 | — | Form layout. |
| Enable Field Label | boolean | — | — | Show labels for fields. |
| Enable Field Placeholder | boolean | — | — | Show placeholder text in fields. |
Examples and common patterns
- Dedicated login page: Add the Login module to a full-width page; set redirect to your membership account or dashboard.
- Inline in layout: Use one column and minimal title for a compact login block in a sidebar or header area.
Pitfalls and limits
- Ensure the lost password link points to a working reset flow (e.g. WordPress default or a front-end reset plugin).
- Redirect only works after a successful login; failed logins stay on the same page.
Related links
- Register module — New user registration and subscription.
- Account page — Member account and membership management.
What's Next
- Register module — Add registration and signup forms.
- Signup module — Let existing users subscribe to a plan.
- Feature Overview — Account and content restriction.