Turnstile widget appearance
-
I’m using the native Cloudflare Turnstile integration on my websites, and it’s working great!
But I miss being able to set the widget’s appearance to “interaction-only.”
The CF7 documentation (https://contactform7.com/turnstile-integration/) has a list of customizable options for the widget:
- action — Specifies the data-action attribute value.
- language — Specifies the data-language attribute value.
- size — Specifies the data-size attribute value.
- tabindex — Specifies the data-tabindex attribute value.
- theme — Specifies the data-theme attribute value.
You could also include the option:
- appearance — Specifies the data-appearance attribute value.
According to the Turnstile documentation (https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/widget-configurations/#appearance-modes), the appearance can be “always,” “execute,” or “interaction-only.”
The advantage is that choosing “interaction-only” only makes the widget visible when needed, which makes the site more attractive.
Please consider including this option in the plugin as well 🙂
The topic ‘Turnstile widget appearance’ is closed to new replies.