This plugin provides the function to create a set of questions to answer with "yes…
This plugin provides the function to create a set of questions to answer with “yes / no (/or other)”.
Requires PHP: 5.5
Yes/Noチャートを作れるプラグインです。
必須PHPバージョン:5.5
The guide is here. ガイドはこちらです
日本語(ja)
Screenshots
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": 最初の質問への分岐を作ると「もう1度」です
FAQ
- 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
ChangeLog
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