Title: Yes/No Chart
Author: kohseiworks
Published: <strong>2018 年 1 月 9 日</strong>
Last modified: 2026 年 1 月 6 日

---

搜索插件

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

# Yes/No Chart

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

[下载](https://downloads.wordpress.org/plugin/yesno.1.0.12.zip)

 * [详情](https://cn.wordpress.org/plugins/yesno/#description)
 * [评价](https://cn.wordpress.org/plugins/yesno/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/yesno/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/yesno/#developers)

 [支持](https://wordpress.org/support/plugin/yesno/)

## 描述

This plugin provides the function to create a set of questions to answer with “yes/
no (/or other)”. 
 Requires PHP: 7.0 Yes/Noチャートを作れるプラグインです。 必須
PHPバージョン：7.0

The guide is here. ガイドはこちらです
 [日本語(ja)](https://kohsei-works.com/plugins)

## 屏幕截图

 * [[
 * List of “Question Set”: 設問セットのリスト
 * [[
 * List of “Questions” belonging to the set: セット内の設問のリスト
 * [[
 * Form for adding new “Question”: 設問を追加するフォーム
 * [[
 * Adding new question as a “Result”: 「結果」として設問を追加
 * [[
 * Select a “Branch” from the questions in the same set: 同じセットの設問から分岐
   先を選択
 * [[
 * You can set up to 10 branches “Yes, No” and others: 分岐先は「はい・いいえ」など
   10個まで設定可能
 * [[
 * After setting all, Insert short-code on any page: 設定が済んだら任意のページに
   ショートコードを挿入
 * [[
 * It will start with the first question: 最初の設問から開始
 * [[
 * A question without “Branch” is used as “result” and it is a end point: 分岐の
   ない設問は「結果（終点）」です
 * [[
 * If you make a “Branch” to the first question, it is “Once again”: 最初の質問へ
   の分岐を作ると「もう１度」です

## 安装

This plug-in makes several pages and data base tables automatically.
 このプラグ
インはデータベーステーブルを自動的に作ります

#### Installation

 1. Donwload plugin zip file.
     プラグインファイルをダウンロードします
 2. Upload plugin file from Administrator menu “Plugins > Add New > Upload Plugin”.
    
    管理画面「プラグイン > 新規追加 > プラグインのアップロード」からプラグインファイル
    をアップロードします
 3. Activate the plugin.
     プラグインを有効化します

#### Set questions

 1. Open a menu “Yes / No: Question Set”. 
     “Question Set” is a group that brings together
    questions. メニュー「Yes/No: 設問セット」を開きます。
 2. Insert the name of new question set in the top line, and “Update”.
     When it is 
    added, open “Add Question”.  新しい設問セットを追加したら「設問追加」を開きます。
 3. Enter the question contents.
     You can choose “Question (with branch)” and “Result(
    No branch)”.  設問を入力します。「設問（分岐あり）」か「結果（分岐なし）」を選べ
    ます。
 4. You can edit the question from list of “Questions”. 
     設問を追加したら、リストの
    リンクをクリックして設問を編集できます。
 5. Select a “Branch” from the questions in the same set.
     You can set up to 10 branches“
    Yes, No” and others. A question without “Branch” is used as “result” and it is 
    a end point. 同じセットの設問から分岐先を選択します。 分岐は「はい・いいえ」のほか
    10個まで設定できます。  分岐のない設問は「結果（終点）」になります。
 6. After setting all, Insert short-code on any page.
     設定が済んだら任意のページに
    ショートコードを挿入します。

## 常见问题

 * If you encounter some problems, please ask me.
    ご不明な点がありましたらお問い合わせ
   ください

### Can not set questions in the “Editor” role?⏎ “編集者”権限でも設問を設定できませんか？

If you want the “Editor” role to also set the question, add the following code to
the theme “functions.php”.
 “編集者”権限でも設問を設定させる場合は、お使いのテーマ
の”functions.php” に次のようにコードを追加してください。

    ```
    add_filter('yesno_allow_menu', 'my_menu_role',99 );
    function my_menu_role( $args ){
        return 'edit_pages';
    }
    add_filter('yesno_allow_generate', 'my_generate_role', 99 );
    function my_generate_role( $args ){
        return current_user_can('edit_pages');
    }
    ```

 * See the document on roles.
 [https://codex.wordpress.org/Roles_and_Capabilities](https://codex.wordpress.org/Roles_and_Capabilities)

## 评价

![](https://secure.gravatar.com/avatar/8445f5ab1a95036bd05551bb4682b8aeabc3fb9ed00b05a845b23c324c449978?
s=60&d=retro&r=g)

### 󠀁[Just perfect](https://wordpress.org/support/topic/just-perfect-652/)󠁿

 [visionrougenet](https://profiles.wordpress.org/visionrougenet/) 2024 年 2 月 7
日

Yes, The explanation is in Japanese, but it’s easy to understand how it works.You
end with a shortcode to put on your WP and it’s perfect.You can even loop to the
first question to get unlimited quizz.I suggest you to draw it first. And follow
question number in order to not loose your mind.The only remark is that I cannot
remove the ‘back’ button’, but I will live with this.You have to créate all the 
question and answer first, and do the link one by one after because link are possible
only if the next question exist, so better write them all firstly.It’s like a chatbot,
but free, forever.

![](https://secure.gravatar.com/avatar/9db83ef1b60cacd64e2080bb103a31e9671462df0797c275ac789d45ba7eef27?
s=60&d=retro&r=g)

### 󠀁[Nice yes/no chart](https://wordpress.org/support/topic/nice-yes-no-chart/)󠁿

 [mediakey](https://profiles.wordpress.org/mediakey/) 2019 年 7 月 12 日

This yes/no chart is exactly what I needed. You can create a solution for example
for people who are doubting about making a choice. Via created questionnaire people
can be directed to an certain choice/advise. The plugin is responsive and fits in
all themes.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/yesno/reviews/)

## 贡献者及开发者

「Yes/No Chart」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kohseiworks ](https://profiles.wordpress.org/kohseiworks/)
 *   [ tnomi ](https://profiles.wordpress.org/tnomi/)

[帮助将「Yes/No Chart」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/yesno)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.12

 * Fixed shortcode parameter security issue.

#### 1.0.11

 * Fixed a bug when Quotation marks (single or double) were used in “Label” of the
   question choices.

#### 1.0.10

 * In yesno.js, automatic scrollback was turned off by default.

#### 1.0.9

 * The scroll has been added that return to the top of the “Yes/No Chart” block 
   after clicking the “Yes/No” button.

#### 1.0.8

 * The text of the “back” button in yesno.js was localized by the translation file.

#### 1.0.7

 * After displaying the result, the child elements of ‘# choices’ will be removed
   with transparency.

#### 1.0.6

 * When creating the table, collation of text type column is set to “utf8_general_ci”.

#### 1.0.5

 * Roles that can set question can be changed by “yesno_allow_generate” filter.
 * Small bug fix.

#### 1.0.4

 * “Redirect to(URL)” is saved without entering a question.

#### 1.0.3

 * Problem with the back button fixed.

#### 1.0.2

 * “yesno.js” has been slightly fixed.

#### 1.0.1

 * “Requires at least” was changed to “4.4”.
 * This plugin update information feed has been added.

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.0.12**
 *  最后更新：**5 月前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/yesno/)
 * 标签
 * [answer](https://cn.wordpress.org/plugins/tags/answer/)[chart](https://cn.wordpress.org/plugins/tags/chart/)
   [question](https://cn.wordpress.org/plugins/tags/question/)[questionnaire](https://cn.wordpress.org/plugins/tags/questionnaire/)
 *  [高级视图](https://cn.wordpress.org/plugins/yesno/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/yesno/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/yesno/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/yesno/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/yesno/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/yesno/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/yesno/reviews/#new-post)

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

## 贡献者

 *   [ kohseiworks ](https://profiles.wordpress.org/kohseiworks/)
 *   [ tnomi ](https://profiles.wordpress.org/tnomi/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://kohsei-works.com/plugins)