DOCS

Sign In / Sign Up

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

Sign in sign up example

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 enableRecaptcha to true in the block and configuring the site key at Settings > Fundations > Security (protection type must be recaptcha).
  • 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

  1. Add the Sign In / Sign Up block to the account page or any page where login is needed.
  2. Toggle registration on or off with Enable Registration.
  3. Set the redirect destination after login.
  4. Enable reCAPTCHA if spam registrations are a concern.

Settings and options

OptionTypeDefaultDescription
Enable registrationbooleantrueShow the sign-up tab
Enable reCAPTCHAbooleanfalseAdd reCAPTCHA to the sign-in and sign-up forms
Redirect after loginstringcurrentcurrent (reload page), dashboard, or custom
Custom redirect URLstringTarget URL when redirect is set to custom
Sign-in titlestringSign InTitle shown on the login tab
Sign-up titlestringSign UpTitle shown on the registration tab
Sign-in button textstringSign InSubmit button label on login tab
Sign-up button textstringCreate AccountSubmit button label on registration tab
Switch to sign-up textstringLabel for the link to switch to registration
Switch to sign-in textstringLabel for the link to switch to login
Button background colorstringButton background; empty inherits global settings
Button text colorstringButton text color
Button hover colorstringButton hover background

What you can and cannot do

  • New accounts are created with the fund_member role 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://).