=== Kandebobr Quiz Embed for Sbornik Testov === Contributors: kandebobr Tags: quiz, test, embed, personality test, survey Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Embed interactive quizzes from Sbornik Testov (sborniktestov.ru) into your WordPress site using a shortcode, Gutenberg block, or widget. == Description == **Сборник Тестов** is a popular Russian-language quiz platform with over 15,000 quizzes — personality tests, knowledge tests, trivia, and more. This plugin allows you to embed any quiz from [sborniktestov.ru](https://sborniktestov.ru/) directly into your WordPress posts, pages, and widgets. = Features = * **Shortcode** — `[sborniktestov id="12345"]` * **Gutenberg block** — with live preview in the editor * **Sidebar widget** — for classic widget areas * **Customizable appearance** — colors, fonts, border radius, padding * **Auto-resize** — iframe adjusts its height to fit the content * **Responsive** — adapts to mobile screens * **Toggle sections** — show/hide title, description, stats, comments, related quizzes = How it works = The plugin embeds quizzes via an iframe from sborniktestov.ru. Quiz content, user answers, and results are processed on sborniktestov.ru servers. No user data from your WordPress site is sent to the service. = Third-Party Service = This plugin connects to **sborniktestov.ru** to load and display quizzes. When a visitor views a page with an embedded quiz, their browser loads the quiz content directly from: * **Service URL:** [https://sborniktestov.ru/embed/](https://sborniktestov.ru/embed/) * **Website:** [https://sborniktestov.ru/](https://sborniktestov.ru/) * **Terms of Service:** [https://sborniktestov.ru/terms-en.html](https://sborniktestov.ru/terms-en.html) * **Privacy Policy:** [https://sborniktestov.ru/privacy-en.html](https://sborniktestov.ru/privacy-en.html) The service sets a cookie (`quiz_visitor_id`) in the visitor's browser to track quiz progress and prevent duplicate submissions. No personally identifiable information is collected. == Installation == 1. Upload the `sborniktestov` folder to `/wp-content/plugins/` 2. Activate the plugin through the **Plugins** menu in WordPress 3. Use the shortcode `[sborniktestov id="12345"]` in any post or page 4. Or add the **Сборник Тестов** block in the Gutenberg editor 5. Or add the **Сборник Тестов** widget to a sidebar = Finding a Quiz ID = 1. Go to [sborniktestov.ru](https://sborniktestov.ru/) 2. Open any quiz 3. The quiz ID is the number in the URL, e.g. `sborniktestov.ru/quiz/12345` → ID is **12345** == Frequently Asked Questions == = Where do I get the quiz ID? = Open any quiz on [sborniktestov.ru](https://sborniktestov.ru/). The number in the URL is the quiz ID. = Can I customize the quiz appearance? = Yes! Use shortcode attributes like `color_accent`, `color_bg`, `color_text`, `radius`, etc. See the Settings page for a full list. = Does the quiz work on mobile? = Yes, the embedded quiz is fully responsive. = Does the plugin slow down my site? = No. The iframe loads asynchronously and does not affect your page load time. The JavaScript file is under 1 KB. = Can I embed multiple quizzes on one page? = Yes, you can use multiple shortcodes or blocks on the same page. == Screenshots == 1. Quiz embedded in a post 2. Gutenberg block with live preview 3. Settings page 4. Sidebar widget configuration == Changelog == = 1.0.0 = * Initial release * Shortcode support * Gutenberg block with live preview * Sidebar widget * Customizable colors, fonts, and layout * Auto-resize iframe * Settings page with defaults == Upgrade Notice == = 1.0.0 = Initial release.