How to Add Cloudflare Turnstile CAPTCHA in WordPress Form?

Key Takeaways

  • Nexter Blocks includes a Form block that allows users to add Cloudflare Turnstile CAPTCHA to WordPress forms.
  • Cloudflare Turnstile is a privacy-friendly CAPTCHA alternative that verifies users without requiring clicks or puzzles.
  • Users need to obtain their Cloudflare Turnstile Site Key and Secret Key to integrate it with the Form block.
Table of Contents

Do you want to add Cloudflare Turnstile CAPTCHA to your WordPress form? Cloudflare Turnstile is a privacy-friendly, CAPTCHA alternative that silently verifies users without making them click boxes or solve puzzles.

With the Form block from Nexter Blocks, you can easily add Cloudflare Turnstile CAPTCHA to your WordPress form.

To check the complete feature overview documentation of the Nexter Blocks Form block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

For this, you must have your Cloudflare Turnstile Site Key and Secret Key.

Get Cloudflare Turnstile Site Key and Secret Key

Make sure you are logged into your Cloudflare account, and then go to this link.

1. Go to Turnstile.

2. Then click on the Add Widget button to add a widget.

create cloudflare turnstile 1

3. On the next page, add a widget name in the Widget name field. You can use your domain name for easy identification.

4. Then click on the + Add Hostnames button and add your domain name. Make sure to add the domain name without http or https.

5. After that, select the appropriate widget mode from the Widget Mode section.

Note: You can keep the pre clearance to No.

6. Then click on the Create button.

create cloudflare turnstile 2

On the next page, you’ll get your Cloudflare Turnstile Site Key and Secret Key.

create cloudflare turnstile 3


Use the Form Block

Now, add the Form block to the page and select the appropriate form type, then follow the steps –

1. Add the required form fields and customize them as per your requirements.

2. Then add the Security Code field.

3. After that, select Cloudflare from the Security Options dropdown.

4. Then add the Site Key and Secret Key in the Cloudflare Client Key and Cloudflare Secret Key fields, respectively.

Now your form will have Cloudflare Turnstile security.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if I can't find my Cloudflare Turnstile Site Key and Secret Key?

If you can't locate your Cloudflare Turnstile Site Key and Secret Key, ensure you are logged into your Cloudflare account and navigate to the Turnstile section. After adding a widget, you will receive these keys on the subsequent page. If you skipped any steps while creating the widget, revisit the process to ensure you have added your domain name and selected the widget mode correctly.

What is the best way to configure the Security Code field for Cloudflare Turnstile?

When configuring the Security Code field for Cloudflare Turnstile, select 'Cloudflare' from the Security Options dropdown in the Form block settings. Then, input your Cloudflare Site Key and Secret Key in the respective fields. This setup ensures that your form is protected by Turnstile's privacy-friendly verification process, which is crucial for preventing spam submissions.

Are there any limitations when using Cloudflare Turnstile with Nexter Blocks?

While using Cloudflare Turnstile with Nexter Blocks, the primary limitation is that you must have the Nexter Blocks plugin installed and activated. Additionally, Turnstile is designed to work seamlessly with the Form block, so ensure you are using this specific block to implement the CAPTCHA effectively.

What are common mistakes when setting up Cloudflare Turnstile in a WordPress form?

A common mistake when setting up Cloudflare Turnstile is failing to input the Site Key and Secret Key correctly in the Form block settings. Another mistake is not selecting the appropriate widget mode during the widget creation process. Both errors can lead to the CAPTCHA not functioning as intended, leaving your form vulnerable to spam.

Last reviewed: April 14, 2026

Related Docs