Skip to content

OG Enhanced Login

OG Enhanced Login gives your WordPress sign-in page your own look and puts a guard around it. It covers wp-login.php and the WooCommerce My Account forms.

Who it is for: site owners and shops who want a branded sign-in page, fewer bot sign-ins and more control over who gets in.

Building on it? See the developer's guide. There is also a longer OG Enhanced Login guide on og-nexus.com.

Lite and Pro

There are two editions. Each works on its own.

  • OG Enhanced Login Lite is free. It needs no licence key. Get it from the Lite product page.
  • OG Enhanced Login Pro is paid and uses your OG Nexus licence. It does everything Lite does, and more. Pro does not need Lite. Get it from the Pro product page.
Feature Lite Pro
Branded sign-in page with live preview Yes Yes, plus background image, form position, width, rounded corners and a welcome message
Register page (who can sign up, role for new sign-ups) Yes Yes
Captcha Invisible Google reCAPTCHA v3 reCAPTCHA v3, reCAPTCHA v2, hCaptcha or Cloudflare Turnstile
Lockouts after wrong passwords Yes Yes
Sign-in log and unlock Yes Yes
Dashboard card Yes Yes
Admin guard, pop-up, appeals, restricted accounts No Yes
Hide login (move wp-login.php) No Yes
Two-factor sign-in No Yes
Social sign-in (Google, Facebook, GitHub, Reddit) No Yes
Magic links No Yes
Sign-in rules (session length, one session, force login, XML-RPC) No Yes
Password rules, expiry and forced resets No Yes
New accounts (e-mail check, admin approval) No Yes
Redirects per role No Yes
Sign-in pop-up, [ogel_signin_form], widget, menu items No Yes
Import & export No Yes
Age checks (with OG Ai Companion Account) No Yes
Elementor integration No Yes
Updates from og-nexus.com No Yes

Both editions keep their settings and sign-in log in the same place. Moving from Lite to Pro keeps everything.

Install and activate

Lite

  1. Install and activate OG Enhanced Login Lite. The steps are in Install and activate.
  2. Open OG Enhanced Login in the admin menu.

Pro

  1. Install and activate OG Enhanced Login Pro. The steps are in Install and activate.
  2. Open OG Enhanced Login › Licence.
  3. Paste your key from My Account › Licences on og-nexus.com into Licence key.
  4. Click Activate.

The licence brings updates from og-nexus.com. See Licences and tiers for what each tier covers.

Moving from Lite to Pro

Install Pro while Lite is still active. Lite rests and shows a notice: OG Enhanced Login Pro is active, so OG Enhanced Login Lite is resting. Your settings and log carry straight over. You can then deactivate and delete Lite.

Finding your way around

Open OG Enhanced Login in the admin menu. Move between sections with the menu on the plugin name, or the search box Find a section. Click Use side menu (or Use top tabs) to change the layout. Your choice is saved for every OG screen.

Each section has its own Save changes button.

Sign-in page

Lite and Pro.

Look

Setting What it does Default
Branded sign-in page Uses the colours, logo and CSS here. Off shows the plain WordPress page. On
Page background, Form background, Field background, Field text, Button, Button text Colours of the page and form. A dark OG look
Background image Pro. Covers the whole page behind the form. Empty
Darken the image (%) Pro. Keeps the form easy to read over a busy picture. 40
Setting What it does Default
Logo image Shown above the form and linked to your home page. Leave empty to use the site logo from Appearance › Customize. Empty
Logo width (px) and Logo height (px) The logo size. 300 × 84

Form

Setting What it does Default
Remember me Ticks "Remember me" when the form opens. On
Language menu Shows the WordPress language menu under the form when more than one language is installed. On
Form position Pro. Middle, Left or Right. Middle
Form width (px) and Rounded corners (px) Pro. Leave empty to keep them as they are. As it is
Welcome message Pro. Plain text shown above the sign-in form. Empty
Hide "Go to site" Pro. Hides the link back to the site. Off
Hide "Lost your password?" Pro. People can still reset their password from My Account. Off

Sign-in pop-up

Pro.

Setting What it does Default
Use the sign-in pop-up "Log in" links on the site open a pop-up form on the page the visitor is on, instead of going to wp-login.php. Off
Elementor integration On: the pop-ups can be kept as Elementor Popup templates. Off: OG Enhanced Login draws everything itself. Off
Pop-up OG Enhanced Login pop-up or Elementor Popup template. OG Enhanced Login pop-up

CSS and live preview

CSS for the sign-in page is added after the colours, so it can change anything on wp-login.php.

Live preview shows the real wp-login.php with your settings, including changes you have not saved yet. Switch between Desktop and Phone. The form cannot be sent from the preview, and the captcha does not load there.

Register page

Lite and Pro. These are your site's own sign-up settings, in one place.

Setting What it does
WordPress sign-up The Register link and form on wp-login.php. Off: people sign up on My Account only.
New WordPress sign-ups get The role for new sign-ups. Never an administrator.
WooCommerce sign-up The sign-up form on My Account.
Make the username for them WooCommerce makes the username from the e-mail address.
Send a password link instead WooCommerce e-mails a link to set the password instead of asking for one.

Sign-up protection shows whether the captcha covers WordPress and WooCommerce sign-up, with a link to Open Captcha. A live preview shows the sign-up form.

New accounts

Pro. Hold new sign-ups from wp-login.php and WooCommerce My Account.

Setting What it does Default
E-mail check New accounts get a link by e-mail and must click it before they can sign in. Off
Admin approval New accounts wait for you to approve them here or on the Users screen. With the e-mail check on too, they wait after confirming their address. Off
E-mail me about new accounts An e-mail to the site address each time an account is waiting. On

Held accounts are listed with Approve, Send link again and Deny. Approving e-mails the person that their account is ready. Denying signs them out everywhere. Administrators are never denied.

Redirects

Pro. Send each role to its own page after signing in and after signing out.

  1. Switch on Use redirects.
  2. For each Role, type an address under After signing in and After signing out.
  3. Leave a box empty to keep the Usual page.

The sign-in page is only used when the person did not ask for a page of their own.

Captcha

Setting What it does Default
Captcha Checks the forms chosen below. Needs both keys for the chosen service. Off
Service Pro. Google reCAPTCHA v3 (invisible), Google reCAPTCHA v2 ("I'm not a robot" box), hCaptcha or Cloudflare Turnstile. Lite always uses reCAPTCHA v3. reCAPTCHA v3
Site key and Secret key From the service's own console. Each service keeps its own keys. Empty
Lowest score let through reCAPTCHA v3 only. 0.1 lets most through, 0.9 is strict. 0.5 suits most sites. 0.5
Box colours Pro. Dark or Light, for the services that show a box. Dark
Forms The forms the captcha checks. WordPress sign-in, sign-up and lost password, and WooCommerce sign-up

The forms you can choose are: WordPress sign-in, sign-up and lost password (wp-login.php), and WooCommerce sign-in, sign-up and lost password (My Account).

Note

If the captcha service cannot be reached, people are let through so your site stays usable. Lockouts still apply.

Passwords

Pro.

Password rules are checked whenever a password is set: wp-admin profiles and new users, the reset password form, and WooCommerce sign-up, account details and reset.

Setting What it does Default
Use these rules Switches the rules (and password expiry) on. Off
Shortest password Minimum characters. 12
A capital letter, A small letter, A number Required characters. On
A symbol Such as ! ? # or %. Off
Days a password lasts After this many days a password stops working. The person is e-mailed a link to choose a new one. 0 = never. 0
Administrators too Expiry also applies to administrators. Off

Force a password reset: choose Everyone or a role under Who, then click Force reset. Everyone chosen is signed out and must choose a new password. Cancel all forced resets undoes it for people who have not reset yet.

Sign-in rules

Pro.

Setting What it does Default
Use these lengths Replaces WordPress's own session lengths. Off
Without "Remember me" Hours people stay signed in. 48
With "Remember me" Days people stay signed in. 14
Administrators Hours, whether or not they tick "Remember me". 0 = the same as everyone. 0
One session at a time Signing in on one device signs that person out everywhere else. Off
Administrators too Applies one session at a time to administrators. Off
People sign in with Username or e-mail address, Username only or E-mail address only. Username or e-mail address
Force login Makes the whole site members-only. Guests must sign in to see any page. My Account always stays open. Off
Send guests to The sign-in page (and back to the page they wanted) or WooCommerce My Account. The sign-in page
Pages guests can still see One address per line, such as /privacy-policy/. An address also opens everything under it. A single / opens the home page only. Empty
XML-RPC On (WordPress default), No sign-in and no pingbacks through XML-RPC, or Off: xmlrpc.php refuses every request. Wrong passwords through XML-RPC count towards lockouts either way. On
Magic links Adds "E-mail me a sign-in link" to wp-login.php, My Account and the sign-in pop-up. Off
A link lasts Minutes before a magic link expires. 15
Administrators too Lets administrators use magic links. Off: they always use their password. Off

Magic links work once and expire. The link opens a page with a Sign in button, so e-mail scanners that open links cannot use it up. Two-factor, New accounts, forced resets and the Admin guard still apply.

Social sign-in

Pro. "Continue with…" buttons on wp-login.php, WooCommerce My Account and the sign-in pop-up.

Setting What it does Default
Social sign-in Shows the buttons for the services switched on below. Off
New people can sign up this way Off: only people who already have an account can use the buttons. On

For each service (Google, Facebook, GitHub, Reddit), switch on Continue with …, then fill in Client ID and Client secret from that service's developer console. Copy the Redirect address shown into the service's app settings. Open the console takes you there.

Note

Reddit shares no e-mail address. People who sign up with Reddit are asked for one, and must confirm it by e-mail.

Admin guard

Pro. A sign-in with an administrator's name, from any address but yours, is blocked at once and logged.

Setting What it does Default
Admin guard Blocks addresses that try administrator names. On
Other names to protect One per line. Administrator names are protected already, in any spelling. Empty
E-mail me E-mails the site address when new addresses are auto blocked (at most one an hour) and for each appeal. Off

Your addresses lists the addresses you signed in from as an administrator in the last 90 days. The guard never blocks these. An administrator with the right password always gets in.

Waiting for review lists addresses and members that sent an appeal. Unblock lets them back in. Keep blocked closes the appeal and they stay blocked.

Restricted accounts lists member accounts tied to a caught address: they signed in from it, ordered from it, or are browsing from it. Their My Account page says the account is restricted, with an appeal form. Click Lift restriction to give them their account back. Administrators are never restricted.

Pop-up

What a caught visitor sees over the sign-in page.

Setting What it does
Pop-up Shows the pop-up when an address is caught. Off: they only see a warning line on the form.
Show again on return Shows it each time a blocked address opens wp-login.php or My Account.
Title, Message, Button The text. In the message, {ip} is their address, {name} the name they tried, {time} when and {site} your site name. Each line is a paragraph.
Appeal button A second button that opens an appeal form (name, e-mail, message).
Show the details Their address, the name they tried and the time, in a box.
Image, Card background, Text, Accent (border, icon, button) The design. Leave the image empty for a shield icon.
Page dimming (%), Pulsing glow, Entrance How the pop-up appears.

A live Preview shows the result. Play the entrance again replays the animation.

Auto blocked

Every address the Admin guard caught. Each is blocked for good at once and added to Lockouts › Always refuse. Click Release to take an address off the list and off Always refuse.

Hide login

Setting What it does
Hide login Uses your own address instead of wp-login.php.
Sign-in address Lower-case letters, numbers and dashes. Not an address a page already uses, and not login, admin or wp-admin.

wp-login.php, and wp-admin for people who are not signed in, then give a 404. The new address is e-mailed to the site address. Bookmark it.

Lost the hidden sign-in address?

Add this line to wp-config.php, above "That's all, stop editing!":

define( 'OGEL_HIDE_LOGIN_OFF', true );

wp-login.php works again. Remove the line once you have set a new address.

Lockouts

Lite and Pro. In Lite, Lockouts is its own section.

Setting What it does Default
Lockouts Locks an address out after too many wrong passwords on wp-login.php, My Account and XML-RPC. On
Wrong passwords allowed Wrong passwords in a row before a lockout. 4
Lockout length (minutes) How long the lockout lasts. 20
Lockout message Leave empty for: "Too many failed sign-in attempts. Please try again in N minutes." Empty
Never lock out One address or range per line. Empty
Always refuse Sign-in from these is refused. One address or range per line. Empty
Read the address from Change only behind a proxy or CDN: Server address (REMOTE_ADDR), X-Forwarded-For, X-Real-IP or CF-Connecting-IP. The screen shows your address as it is read now. Server address
Keep the sign-in log (days) Older failed attempts are removed every day. 30
Remove on uninstall Deletes the settings and sign-in log when the plugin is deleted. Off

An administrator with the right password always gets in, even from a locked address.

Sign-in log

Lite and Pro. In Lite it sits under Lockouts.

  • Totals for the last 7 days: Failed sign-ins, Addresses, Lockouts and Locked out now.
  • Locked out now, with Unlock. In Pro this list also shows Admin guard blocks, with Review or Release.
  • Recent failed sign-ins: when, the address, the Name typed, what blocked them (Blocked by: Admin guard or Failed sign-in) and where it came from (wp-login.php, My Account, the sign-in pop-up or other).
  • Empty the log clears the log and unlocks every address.

Two-factor

Pro. Each person can turn on a second step: a six-digit code from an authenticator app, with 10 backup codes.

  • People set it up in My Account › Security (with OG Account Customiser), or in Users › Two-factor sign-in if they use wp-admin.
  • The section shows how many people have it on, and Set up your own.
  • Two-factor covers every way of signing in: wp-login.php, My Account, checkout, the sign-in pop-up, social sign-in and magic links.
  • If another two-factor plugin is active, OG Enhanced Login leaves two-factor sign-in to it and says so.

Someone lost their phone and backup codes

Run this on the server, with their user ID, username or e-mail address:

wp og-el-2fa reset <user>

Age checks

Pro. Appears only while OG Ai Companion Account is active. It holds the OG Ai age check, Go anonymous, and the My Account › KYC tab. Open it from OG Enhanced Login › Age checks.

Import & export

Pro.

  • Download settings saves every setting as one file. Tick the box to include secret keys (captcha and social sign-in). Keep that file private. Blocked addresses and the sign-in log are not included.
  • Import settings loads a file made by Export.
  • Reset to defaults puts every setting back to how it was at install. Blocked addresses, the sign-in log and two-factor are kept.
  • Undo the last import or reset brings back the settings from before.

Licence

Pro. Shows the licence state (Active, Not valid, No licence), the expiry date or Lifetime licence, and Remove licence from this site.

Upgrade to Pro

Lite only. Explains what Pro adds and compares Lite and Pro side by side. Open it from OG Enhanced Login › Upgrade to Pro or the button in the top bar.

Dashboard card

Lite and Pro. The WordPress dashboard shows new users, failed sign-ins and lockouts in the last 7 days. Accounts on your site's own e-mail domain are left out of new users.

Widget, menu items and shortcodes

Pro.

  • OG Sign-in widget: the sign-in form for guests, and My Account and Log out for members. Set Title for guests and Title for members.
  • Appearance › Menus has an OG Enhanced Login box with Log in / Log out (switches by itself), Register (guests only) and My Account (members only). Log in also opens the sign-in pop-up when it is on.
  • [ogel_signin_form] puts the sign-in form on any page. It shows nothing to signed-in people.
  • [ogel_account_links] shows "Hi, name · My Account · Log out" to members and a Log in link to guests.

Common tasks

Add your logo to the sign-in page

  1. Open OG Enhanced Login › Sign-in page.
  2. Under Logo, click Choose from the Media Library.
  3. Set Logo width (px) and Logo height (px).
  4. Check the Live preview, then click Save changes.

Switch on the invisible captcha

  1. Create reCAPTCHA v3 keys in the Google reCAPTCHA admin console.
  2. Open OG Enhanced Login › Captcha.
  3. Paste the Site key and Secret key.
  4. Tick the Forms to protect.
  5. Switch on Captcha and click Save changes.

Let a locked-out person back in

  1. Open Sign-in log (under Admin guard in Pro, under Lockouts in Lite).
  2. Find their address under Locked out now.
  3. Click Unlock.

Make the site members-only

  1. Open OG Enhanced Login › Sign-in rules.
  2. Switch on Force login.
  3. Choose where to Send guests to.
  4. List any public pages under Pages guests can still see.
  5. Click Save changes.

FAQ and troubleshooting

Does the plugin contact other servers? Lite contacts no server by itself. It only calls Google, and only when the captcha is on. Pro also calls the captcha service you chose, the social sign-in services you switched on, and og-nexus.com for licence checks and updates.

I am locked out of my own site. An administrator with the right password always gets in, even from a locked address. If you hid the sign-in page and forgot the address, use OGEL_HIDE_LOGIN_OFF as shown under Hide login.

People behind my CDN all share one address. Set Lockouts › Read the address from to the header your CDN sends, such as CF-Connecting-IP. Only change it behind a proxy or CDN.

The plugin says another copy is active. Two copies of Pro are installed. Deactivate one.

Uninstall

Settings and the sign-in log stay when you delete the plugin, unless you switch on Lockouts › Data › Remove on uninstall. They are always kept while the other edition (Lite or Pro) is installed, because both use them. Two-factor and age-check data always stay.