| 开发者 | qwizoo |
|---|---|
| 更新时间 | 2026年5月1日 07:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
qwizoo.com/q/YOUR_ID).
Inline embed:
[qwizoo id="YOUR_QUIZ_ID"]
With custom height:
[qwizoo id="YOUR_QUIZ_ID" height="800"]
Popup button:
[qwizoo id="YOUR_QUIZ_ID" mode="popup" trigger="Take the Quiz"]
Floating button:
[qwizoo id="YOUR_QUIZ_ID" mode="float" position="bottom-right"]
Getting Started
src/block/. The file src/block/index.js is compiled to build/index.js using @wordpress/scripts (webpack).
To rebuild from source:
npm installnpm run build (or npm start for a watching dev build)build/ directory. No other JavaScript or CSS in this plugin is minified or compiled — all admin scripts and styles under admin/js/ and admin/css/ are the human-readable source.
Yes. This plugin connects your WordPress site to the Qwizoo platform. You can create a free account at qwizoo.com — no credit card required.
The Standard plan includes unlimited quizzes, up to 25 leads per month, inline embedding, and access to all core quiz types. Popup and floating button embed modes are available on Comfort and Premium plans.
Yes. Use the [qwizoo id="YOUR_QUIZ_ID"] shortcode inside any page builder text or shortcode widget. The Gutenberg block is available natively in the WordPress block editor.
Yes. Your API key is encrypted using AES-256-CBC with your WordPress AUTH_KEY secret before being stored in the database. It is never exposed in page source or JavaScript.
Your quiz ID appears in the quiz URL: qwizoo.com/q/YOUR_ID. Once your account is connected, the Qwizoo settings page in WordPress shows all your quizzes with their IDs and ready-to-copy shortcodes — no manual lookup needed.
Yes. You can embed as many quizzes as you like. Use a different ID for each quiz.
Make sure your API key starts with qwz_. Keys are generated in qwizoo.com → Settings → API Keys. If the key looks correct, try revoking it and creating a new one.
The plugin caches the quiz list for 5 minutes. Click the Refresh ↺ button on the settings page, or wait for the cache to expire. You can also run wp qwizoo list --skip-cache from WP-CLI to force a fresh fetch.
Popup and Float modes require a Comfort or Premium plan on qwizoo.com. Upgrade at qwizoo.com/dashboard/billing. Inline embed works on all plans including free.
For security, Qwizoo shows the full key only once at creation time. If you've lost it, go to qwizoo.com → Settings → API Keys, revoke the old key, and create a new one. Paste the new key into the plugin settings.
Qwizoo uses OpenSSL to encrypt your API key before storing it. OpenSSL is available on virtually all modern WordPress hosting environments. Contact your host and ask them to enable the openssl PHP extension.
Yes. If you want to point the plugin to a different Qwizoo environment, add this to your wp-config.php:
define( 'QWIZOO_API_BASE', 'https://staging.qwizoo.com/api/v1' );
define( 'QWIZOO_EMBED_BASE', 'https://staging.qwizoo.com' );
Yes. Three commands are available: wp qwizoo test # Test the stored API key wp qwizoo list # List your published quizzes wp qwizoo disconnect # Remove the stored API key
Your quizzes continue to display normally for visitors. New leads are saved but hidden from your dashboard until you upgrade — they are not lost. Your limit resets at the start of the next month. The plugin shows your current usage on the settings page. Upgrade your plan at qwizoo.com/dashboard/billing to increase the limit or purchase additional lead credits.
confirm() disconnect dialog with an inline two-step confirmation buttonQWIZOO_API_BASE and QWIZOO_EMBED_BASE constants can now be overridden in wp-config.phpwp-content/debug.log when WP_DEBUG_LOG is enabledwp qwizoo test, wp qwizoo list, wp qwizoo disconnect