FREE block. A combined login and registration form for the Fundations member area. Block ID: get-fund/auth-form.

Why use this
Fundraiser creators need an account to manage their actions. This block provides a single, configurable authentication form that handles both login and new account registration without sending users to the WordPress default login screen.
What it does
The block shows a tabbed form. The sign-in tab handles standard WordPress authentication. The sign-up tab creates a new account with the fund_member role. If the user is already logged in, the form is replaced with a “You are already logged in” message.
Spam protection options:
- reCAPTCHA v2: Enable by setting
enableRecaptchato true in the block and configuring the site key at Settings > Fundations > Security (protection type must berecaptcha). - CleanTalk: Configured via Settings > Fundations > Security (type
cleantalk, with an API key).
After login, the user is redirected based on the redirectAfterLogin setting.
How to use it
- Add the Sign In / Sign Up block to the account page or any page where login is needed.
- Toggle registration on or off with Enable Registration.
- Set the redirect destination after login.
- Enable reCAPTCHA if spam registrations are a concern.
Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| Enable registration | boolean | true | Show the sign-up tab |
| Enable reCAPTCHA | boolean | false | Add reCAPTCHA to the sign-in and sign-up forms |
| Redirect after login | string | current | current (reload page), dashboard, or custom |
| Custom redirect URL | string | — | Target URL when redirect is set to custom |
| Sign-in title | string | Sign In | Title shown on the login tab |
| Sign-up title | string | Sign Up | Title shown on the registration tab |
| Sign-in button text | string | Sign In | Submit button label on login tab |
| Sign-up button text | string | Create Account | Submit button label on registration tab |
| Switch to sign-up text | string | — | Label for the link to switch to registration |
| Switch to sign-in text | string | — | Label for the link to switch to login |
| Button background color | string | — | Button background; empty inherits global settings |
| Button text color | string | — | Button text color |
| Button hover color | string | — | Button hover background |
What you can and cannot do
- New accounts are created with the
fund_memberrole only, not as administrators or editors. - reCAPTCHA requires both the block attribute and the global settings key to be configured.
- If registration is disabled, only the sign-in tab is shown.
- The block does not support social login.
Troubleshooting
reCAPTCHA does not appear: Confirm the site key is set at Settings > Fundations > Security and that the protection type is set to recaptcha.
Registration creates no account: Check the WordPress wp_mail function is working. The registration process may require email confirmation depending on WordPress settings.
Redirect after login goes to the wrong page: If set to custom, verify the custom redirect URL is correct and includes the protocol (https://).