REIGN

Sign-in and register popup

Replace the WordPress login page with an in-page popup, and know that BuddyPress owns the register fields once it is active.

The Sign-in and Register Popup section

Customize > General > Sign-in & Register Popup

This section opens login and registration in a popup on top of the current page, instead of sending visitors to wp-login.php. It is off by default. Form colors follow your color palette under Color Options, there is nothing to style separately here.

Turning it on

Sign-in Popup is the master switch. Once enabled, Form Popup chooses what the popup shows:

  • Reign Login Form, the theme’s built-in form, configured with the remaining fields in this section.
  • Custom shortcode, where you supply your own HTML or shortcode in the Popup Content field that appears in its place. Choosing this hides all the built-in form fields below, since the popup is now entirely yours.

With the built-in form, Form Display decides whether the popup opens with login, register, or both.

BuddyPress owns the register fields

If BuddyPress is active, the registration fields shown in this popup come from BuddyPress > Profile Fields, not from the theme. Editing anything in this Customizer section will not change what fields the popup’s register form shows or asks for. To add, remove or reorder registration fields on a BuddyPress site, make that change in BuddyPress’s own Profile Fields screen.

BuddyPress being active also changes what this section offers. Redirect destinations after login gain Profile page and Activity page options alongside Current page and Custom page. And the separate Register Redirect controls (destination and custom URL) that appear on a non-BuddyPress site are not shown here, because BuddyPress manages its own post-registration redirect.

Redirects and labels

Login Redirect Destination sets where a visitor lands after logging in. Choose Custom page and a Login Custom URL field appears for the destination. On a site without BuddyPress, Register Redirect and Register Custom URL work the same way for the registration side.

Three text fields let you customize what the popup says, all optional and all fall back to a sensible default if left blank:

  • Login Form Label, defaulting to “Login to your Account.”
  • Register Form Label, defaulting to “Register in {site name}.”
  • Login Form Description, shown under the login form in the register prompt area. This only appears at all when user registration is enabled under Settings > General > Membership, since there is nothing to prompt toward otherwise.

All three accept HTML and links, not just plain text.

When to use this

Turn it on if you want visitors to log in or register without leaving the page they are on, useful for membership or community sites where interrupting a visitor’s flow to send them to a separate login page costs conversions. Leave it off if your site already sends people to a dedicated, branded login page, since running both a popup and a full custom login page is redundant.