• Features
  • Pricing
  • Help
  • My Account
  • Buy Now
WP Ghost
  • Features
  • Pricing
  • Help
  • My Account
  • Buy Now

Add Brute Force Protection to Elementor Login Forms

/Features / Brute Force / Compatibility / Plugins / Add Brute Force Protection to Elementor Login Forms
Table of Contents
  • When You Need the Brute Force Shortcode
  • How to Add Brute Force Protection to Elementor
    • Activate Brute Force Protection
    • Add the Shortcode to Your Login Form
  • Frequently Asked Questions
    • Does this work with Divi, WPBakery, or other page builders?
    • Do I need the shortcode on the default WordPress login page?
    • What about WooCommerce login forms?
    • Does WP Ghost modify WordPress core files?
  • Related Tutorials

Add WP Ghost’s brute force reCAPTCHA protection to Elementor login forms using the shortcode. WP Ghost automatically protects the default WordPress login form, but custom login forms built with page builders like Elementor don’t load WP Ghost’s brute force protection automatically. The shortcode bridges this gap – add it to any Elementor form to enable the same reCAPTCHA and attempt-limiting protection that the default login page receives.

When You Need the Brute Force Shortcode

WP Ghost’s Brute Force Protection works automatically on the standard WordPress login page (wp-login.php). But if your site uses a custom login page built with Elementor, Divi, WPBakery, or another page builder, the brute force protection doesn’t load on those forms by default. The shortcode solves this by injecting the reCAPTCHA widget and attempt-limiting logic into any form where you place it.

Use this shortcode on any page builder login form, custom registration form, or any other form where you want brute force protection. This tutorial shows the Elementor workflow, but the shortcode works in any page builder that supports WordPress shortcodes.

How to Add Brute Force Protection to Elementor

Activate Brute Force Protection

The shortcode only works when Brute Force Protection is active. If you haven’t enabled it yet:

  1. Go to WP Ghost > Brute Force > Settings.
  2. Switch on Use Brute Force Protection.
  3. Select your preferred reCAPTCHA type (Math, Google V2, V3, or Enterprise).
  4. Click Save.
WP Ghost Brute Force Protection activation required before using the shortcode

Add the Shortcode to Your Login Form

  1. Open the page containing your login form in the Elementor editor.
  2. If you haven’t created a login form yet, drag the Elementor Pro Login widget onto your page.
  3. In the Login widget settings, go to the Form Fields section.
  4. Add a Shortcode field and enter:
  5. Save and publish the page.
Elementor Login Form with WP Ghost brute force reCAPTCHA shortcode added to Form Fields

The reCAPTCHA widget (Math, V2, V3, or Enterprise – whichever you configured) now appears on your Elementor login form. Failed login attempts are tracked and IPs are blocked according to your Brute Force settings.

The shortcode renders whichever reCAPTCHA type you selected in WP Ghost’s Brute Force settings. If you switch from Math to Google V3, the shortcode automatically renders the V3 widget – no need to change the shortcode itself.

Frequently Asked Questions

Does this work with Divi, WPBakery, or other page builders?

Yes. The shortcode works anywhere WordPress shortcodes are supported. In Divi, use a Code module. In WPBakery, use a Text Block or Raw HTML element. The shortcode renders the same reCAPTCHA widget regardless of which builder you use.

Do I need the shortcode on the default WordPress login page?

No. WP Ghost automatically adds brute force protection to the standard WordPress login page (wp-login.php). The shortcode is only needed for custom login forms built with page builders that don’t use the default WordPress login mechanism.

What about WooCommerce login forms?

WooCommerce login forms have their own toggle in Brute Force > WooCommerce > WooCommerce Support – you don’t need the shortcode for those. Use the shortcode only for custom-built login forms that WP Ghost can’t auto-detect.

Does WP Ghost modify WordPress core files?

No. The shortcode renders through WordPress’s standard shortcode API. No core files are modified. Removing the shortcode from your form removes the brute force widget instantly.

Related Tutorials

Complete your brute force and login security setup:

  • Brute Force Protection – The complete guide covering all reCAPTCHA options, protected forms, and shared settings.
  • Two-Factor Authentication – Add a second verification step after the password.
  • Change and Hide the Login Path – Move your login page to a custom URL.
  • Magic Link Login – Passwordless login via email link.
Tagged: elementor brute forceelementor login protectionlogin form shortcodebrute force shortcode

Related Articles

  • Google reCAPTCHA Enterprise for WordPress

  • WP Ghost and LiteSpeed Cache Setup Guide

  • WordPress Brute Force Protection with reCAPTCHA

  • WP Ghost and WP Security Ninja Compatibility

  • WP Ghost and Hummingbird Cache Plugin Setup

  • WP Ghost and Breeze Cache Plugin Setup Guide

WP Ghost

Stop WordPress hacks before they start

Path security, 8G firewall, brute force protection, and passkeys. 60-second setup.

Install Free → See Premium Plans
Last 30 days
100M+ threats blocked
Across 250,000+ protected sites.
Read the Impact Report →
Rated by real users
★ 4.5
WordPress.org
★ 4.8
G2
★ 4.8
Capterra
★ 4.8
AppSumo
Getting Started
  • What is WP Ghost?
  • Install WP Ghost (Free)
  • 3-Minute Safe Mode Setup
  • Best Practice Settings Guide
  • One-Click Security Presets
  • Website Security Check
Path Security
  • Hide wp-admin Path
  • Hide wp-login Path
  • Change wp-content Path
  • Change Plugins Path
  • Hide Author ID & Path
  • Change REST API Path
  • Change admin-ajax.php Path
Login & 2FA
  • Two-Factor Authentication (2FA)
  • Passkey 2FA (Face ID, Touch ID)
  • Magic Link Login
  • Temporary Logins
  • Brute Force Protection + reCAPTCHA
  • Login Page Designer
Firewall & Monitoring
  • 7G & 8G Firewall
  • Security Headers (HSTS, CSP)
  • Security Threats Log
  • User Events Log
  • Country Blocking (Geo)
  • Disable XML-RPC Access
Hardening
  • Hide Your WordPress Website
  • Hide from Theme Detectors
  • Hide Common WordPress Files
  • Prevent Hack Attacks on WordPress
  • Hacker Bot Attack Types
Compatibility
  • Plugin Compatibility List
  • Theme Compatibility List
  • WooCommerce Setup
  • Nginx Server Setup
  • Hosting Setup Guides
  • Emergency: Disable WP Ghost
Help & Resources
  • Full Knowledge Base
  • Frequently Asked Questions
  • Changelog
  • Developer Hooks Reference
  • Contact Support
Free vs Premium?

Lite Mode (Free) covers core path security. Safe Mode and Ghost Mode (Premium) add advanced features.

Compare Plans →

Product

  • What is WP Ghost?
  • Free vs Premium
  • Pricing
  • Changelog
  • Why WP Ghost
  • Knowledge Base

Features

  • Path Security
  • Firewall Security
  • Brute Force Protection
  • Two-Factor Authentication
  • User Events Log
  • Security Threats Log

Resources

  • Getting Started Guide
  • Plugin Compatibility
  • Theme Compatibility
  • Hosting Setup Guides
  • Developer Hooks
  • Impact Report

Company

  • Affiliate
  • Media Kit
  • Terms Of Use
  • Privacy Policy
  • GDPR Compliance
  • Contact
  • Facebook
  • YouTube
  • X
© WP Ghost 2016-2026 | Powered by AISQ | Squirrly