Description
Kripanov Polls and Survey Pro lets you create multi-question polls and publish them with a shortcode or a Gutenberg block.
Compatibility
Verified with WordPress 7.1.3. Requires WordPress 6.0 or greater and PHP 7.4 or greater. WordPress 7.1 runs on PHP 7.4 through 8.5; PHP 8.3, 8.4 and 8.5 are fully supported (8.4 and 8.5 are recommended for a new WordPress 7.1 install). The Gutenberg block uses API version 3 and editor_style so the preview works in the iframed editor required since WordPress 7.1. The admin builder uses jQuery UI Sortable (public API, compatible with jQuery UI 1.14.2 bundled in Core).
Question types
- Single choice
- Multiple choice (configurable minimum and maximum)
- 1–5 star rating (average and distribution)
Voter identification
- Google account (Google Identity Services; the server verifies the ID token)
- 6-digit email code (OTP with expiry and attempt limits)
- Logged-in WordPress users
- Anonymous mode (one vote per poll: cookie, browser fingerprint, device, and IP cap)
Google, email codes and captcha are optional. They are enabled in Settings and, for Google and captcha, only after the site admin saves the service keys.
Anti-fraud
- One vote per email (unique index; Gmail alias normalization)
- One vote per device (signed local identifier)
- Rate limits per IP and per email
- Honeypot and signed minimum submit time
- Optional Cloudflare Turnstile or Google reCAPTCHA v3
- Disposable email blocking and domain allow-list
- Security log of blocked events
Results
- Color bars per option, highlighted leader and “your vote”
- Live refresh, countdown and participant total
- Visibility: always / after voting / when closed / never
- Admin chart, voter list and CSV export
Shortcodes
[kripanov_poll id="1"]— full poll[kripanov_poll_results id="1"]— results only[kripanov_poll_list limit="5"]— list of active polls
Gutenberg block
Insert the Kripanov Polls and Survey Pro block and choose a poll. The editor shows a live preview.
Source code
All JavaScript and CSS files shipped in assets/js/ (frontend.js, admin.js, block.js) and assets/css/ (frontend.css, admin.css) are written directly as human-readable vanilla source files with no build step, bundler or minification.
Third-Party Services
This plugin does not contact external services unless the site admin enables and configures those features.
Google Identity Services (optional)
If “Allow voting with a Google account” is enabled and an OAuth client ID is saved:
- The browser loads
https://accounts.google.com/gsi/clientfor the sign-in button. - The server calls
https://oauth2.googleapis.com/tokeninfoto verify the ID token. - The plugin checks that the token belongs to your client ID, has not expired, and the email is verified.
Documentation: https://developers.google.com/identity/gsi/web
Terms: https://policies.google.com/terms
Privacy: https://policies.google.com/privacy
Google reCAPTCHA v3 (optional)
If you choose reCAPTCHA and save site and secret keys:
- The browser loads
https://www.google.com/recaptcha/api.js. - The server verifies the token at
https://www.google.com/recaptcha/api/siteverify.
Documentation: https://www.google.com/recaptcha/about/
Terms: https://policies.google.com/terms
Privacy: https://policies.google.com/privacy
Cloudflare Turnstile (optional)
If you choose Turnstile and save site and secret keys:
- The browser loads
https://challenges.cloudflare.com/turnstile/v0/api.js. - The server verifies the token at
https://challenges.cloudflare.com/turnstile/v0/siteverify.
Terms: https://www.cloudflare.com/terms/
Privacy: https://www.cloudflare.com/privacypolicy/
Email (OTP codes and notices)
Verification codes and vote notices are sent with the site’s own wp_mail() (your mail server or an SMTP plugin you install). This plugin does not use a mail service operated by the plugin author.
Privacy
When someone votes, the site may store in its own database:
- Poll answers.
- Email (plain text or omitted, depending on Settings), name and avatar if the voter identifies with Google or OTP.
- Hashes of email, IP, device id, browser cookie and a technical fingerprint (anonymous voting) to prevent duplicate votes.
- Vote timestamp and security-log events (blocked attempts, codes sent, and similar).
Own cookie: encuesta_pro_did (random browser id, HttpOnly, 1 year). Used for anonymous mode. It does not contain the email or the answers.
The plugin does not include analytics, ads or telemetry to Kripanov or WordPress.org.
Site administrators are responsible for informing voters (site privacy policy) and for complying with applicable law (for example GDPR) if they collect emails or enable Google / captcha.
Installation
- Upload the
kripanov-polls-and-survey-profolder to/wp-content/plugins/, or install the ZIP from Plugins > Add New. - Activate the plugin.
- Go to Polls > Settings.
- (Optional) Paste a Google OAuth client ID: Google Cloud Console > Credentials > OAuth client ID > Web application. Add your domain under Authorized JavaScript origins.
- (Optional) Configure Cloudflare Turnstile or Google reCAPTCHA v3 if you want a captcha.
- Create a poll under Polls > Add new and publish it with the shortcode or the block.
FAQ
Do I need a Google client secret?
No. The plugin uses Google Identity Services in the browser and validates the token against Google’s official endpoint (oauth2.googleapis.com/tokeninfo), checking audience, issuer, expiry and verified email.
Are email addresses shown publicly?
No. They are only used to enforce one vote per person. In Settings you can stop storing the email in plain text (only a hash is kept).
Are Google or captcha required?
No. Without a Google client ID the Google button is not shown. Without captcha keys, no Turnstile or reCAPTCHA script is loaded.
Does it work with page cache?
Yes. If the REST nonce expires, the front end requests a fresh one automatically.
What happens on uninstall?
Tables and votes are kept by default. If you enable “Delete data on uninstall” in Settings, tables, options, OTP transients and the encuesta_pro_manage capability are removed.
Screenshots
Changelog
1.2.8
- Fix: register the front-end script before
wp_localize_script()in block themes (FSE), preventing missing labels (undefined) and failed vote submissions across all identification modes. - Fix: return and persist signed vote receipts when a returning voter is recognized via status check, Google sign-in, WordPress account, or device limit so “show results after voting” loads cleanly in all modes.
- Fix: safer DOM text rendering in email OTP verification buttons.
1.0.0
- Initial release.





