Title: LeadForms Quiz
Author: LeadForms
Published: <strong>2026 年 8 月 17 日</strong>
Last modified: 2026 年 8 月 17 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/leadforms-quiz.svg)

# LeadForms Quiz

 作者：[LeadForms](https://profiles.wordpress.org/leadforms/)

[下载](https://downloads.wordpress.org/plugin/leadforms-quiz.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/leadforms-quiz/#description)
 * [评价](https://cn.wordpress.org/plugins/leadforms-quiz/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/leadforms-quiz/#developers)

 [支持](https://wordpress.org/support/plugin/leadforms-quiz/)

## 描述

This plugin places quizzes built with **LeadForms** (leadforms.ru) on your WordPress
site. The quiz itself is created and stored in your LeadForms account; the plugin
embeds it into a page using the official LeadForms widget loader.

**Features**

 * Shortcode `[leadforms id="123"]` for any post, page or text widget.
 * A “LeadForms Quiz” block for the block editor, with all options in the sidebar
   and no code to write.
 * Two display modes:
    - **Inline** — the quiz is embedded directly into the content.
    - **Popup** — a button is placed in the content and the quiz opens in a modal
      window when it is clicked.
 * Width and height options for the inline mode; button text and shape for the popup
   mode.
 * The loader script is enqueued only on pages that actually contain a quiz.

**How to use**

 1. Create and publish a quiz in your LeadForms account.
 2. Copy the quiz ID — the number in the quiz URL.
 3. Add the “LeadForms Quiz” block to a page, or insert the shortcode `[leadforms id
    ="YOUR_ID"]`.

Shortcode examples:

    ```
    [leadforms id="123"]
    [leadforms id="123" mode="popup" button_text="Get a quote"]
    [leadforms id="123" height="700px"]
    ```

### External services

This plugin loads the LeadForms widget loader and displays the quiz in an iframe.
This is required for the plugin to work: the quiz itself is stored and served by
the LeadForms service.

What is loaded and when:

 * **Widget loader** — the script `https://script.leadforms.ru/v1.js`. It is loaded
   in the visitor’s browser on pages where a quiz is placed.
 * **Quiz content** — the quiz page served from the LeadForms domain and embedded
   in an iframe when the quiz is displayed.

What data is sent: when the quiz loads, the loader sends technical details of the
page to LeadForms — the current URL, the referrer and browser cookies — so that 
the quiz works correctly and submissions are attributed to the right page. Personal
data entered by a visitor into the quiz is processed by the LeadForms service, not
by this plugin.

Service provider: LeadForms.

 * Website: https://leadforms.ru
 * Terms of use: https://leadforms.ru/conditions
 * Privacy policy: https://leadforms.ru/policy
 * Consent to personal data processing: https://leadforms.ru/consent

## 屏幕截图

[⌊The "LeadForms Quiz" block and its settings in the block editor.⌉⌊The "LeadForms
Quiz" block and its settings in the block editor.⌉[

The “LeadForms Quiz” block and its settings in the block editor.

[⌊A quiz embedded inline in a page.⌉⌊A quiz embedded inline in a page.⌉[

A quiz embedded inline in a page.

[⌊Popup mode: a button that opens the quiz in a modal window.⌉⌊Popup mode: a button
that opens the quiz in a modal window.⌉[

Popup mode: a button that opens the quiz in a modal window.

## 区块

该插件提供了 1 个区块.

 *   LeadForms Quiz Embed a LeadForms quiz — inline in the content or as a popup
   opened by a button.

## 常见问题

### Where do I find the quiz ID?

It is the number in the quiz URL in your LeadForms account. The same value goes 
into the block settings and into the `id` attribute of the shortcode.

### Do I need a LeadForms account?

Yes. The plugin only embeds an existing quiz; quizzes are created and configured
in LeadForms.

### The quiz does not appear on the page

Check that the ID is correct and that the quiz is published. If a caching or script
optimisation plugin is active, make sure it does not strip the `script.leadforms.
ru/v1.js` loader.

### Can I place several quizzes on one page?

Yes. Each shortcode and each block is independent, including quizzes with different
IDs.

## 评价

此插件暂无评价。

## 贡献者及开发者

「LeadForms Quiz」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ LeadForms ](https://profiles.wordpress.org/leadforms/)

[帮助将「LeadForms Quiz」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/leadforms-quiz)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/leadforms-quiz/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/leadforms-quiz/)，或通过[RSS](https://plugins.trac.wordpress.org/log/leadforms-quiz/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/leadforms-quiz/)。

## 更新日志

#### 1.0.0

 * Initial release: shortcode, editor block, inline and popup display modes.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/leadforms-quiz/)
 * 标签
 * [embed](https://cn.wordpress.org/plugins/tags/embed/)[forms](https://cn.wordpress.org/plugins/tags/forms/)
   [lead generation](https://cn.wordpress.org/plugins/tags/lead-generation/)[quiz](https://cn.wordpress.org/plugins/tags/quiz/)
   [survey](https://cn.wordpress.org/plugins/tags/survey/)
 *  [高级视图](https://cn.wordpress.org/plugins/leadforms-quiz/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/leadforms-quiz/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/leadforms-quiz/reviews/)

## 贡献者

 *   [ LeadForms ](https://profiles.wordpress.org/leadforms/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/leadforms-quiz/)