Free Cloudflare Turnstile for Divi Contact Forms

DIVI 4 & DIVI 5 CLOUDFLARE TURNSTILE CAPTCHA FOR STANDARD DIVI FORMS

Our Free Cloudflare Turnstile for Divi Contact Forms is a lightweight, privacy-friendly replacement for Google reCAPTCHA, built to work seamlessly with the standard Divi contact form module. This plugin is provided free of charge by 040hosting for everyone who sees it fit to use on their website.

This script integrates Cloudflare Turnstile into your Divi form, adding bot protection without relying on Google’s tracking or heavy scripts.

Features:

  • Works with the native Divi contact form (no extra plugins required)
  • Tested and confirmed to work with Divi 4 and Divi 5
  • 100% free to use — both the script and Cloudflare Turnstile
  • Lightweight and privacy-respecting (no user tracking)
  • Simple setup using your Cloudflare site and secret keys

Requirements:

  • A free Cloudflare Account
  • Active Divi theme (Elegant Themes)

Disclaimer

This script is provided as-is and without any warranty or liability. While it has been tested and confirmed to work under standard configurations, results may vary depending on your WordPress setup, Divi version, or customizations. By downloading or using this script, you agree that 040Hosting and its developers are not responsible for any issues, damages, or losses arising from its use or misuse.

 

Support is not included, but you are free to modify and adapt the script for your own use.

Please do not republish or redistribute this script without including a clear link to 040Hosting.eu
as the original source.

Versions:
1.0.4 Initial production release
1.0.5 security updates (medium)

Changelog 1.0.4
Production Release

Changelog 1.0.5
– CSRF Vulnerability in Form Submission (medium)
– IP spoofing prevention (low)
– Improved Response validation (low)
– SSL Validation (low)
– Improved Input validation (low)