Wopisanje
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)
Fota wobrazowki
Instalacija
This plug-in makes several pages and data base tables automatically.
このプラグインはデータベーステーブルを自動的に作ります
Installation
-
Donwload plugin zip file.
プラグインファイルをダウンロードします -
Upload plugin file from Administrator menu “Plugins > Add New > Upload Plugin”.
管理画面「プラグイン > 新規追加 > プラグインのアップロード」からプラグインファイルをアップロードします -
Activate the plugin.
プラグインを有効化します
Set questions
-
Open a menu „Yes / No: Question Set“.
„Question Set“ is a group that brings together questions.
メニュー「Yes/No: 設問セット」を開きます。 -
Insert the name of new question set in the top line, and „Update“.
When it is added, open „Add Question“.
新しい設問セットを追加したら「設問追加」を開きます。 -
Enter the question contents.
You can choose „Question (with branch)“ and „Result (No branch)“.
設問を入力します。「設問(分岐あり)」か「結果(分岐なし)」を選べます。 -
You can edit the question from list of „Questions“.
設問を追加したら、リストのリンクをクリックして設問を編集できます。 -
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個まで設定できます。
分岐のない設問は「結果(終点)」になります。 -
After setting all, Insert short-code on any page.
設定が済んだら任意のページにショートコードを挿入します。
HSP
- 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
Pohódnoćenja
Sobuskutkowarjo a wuwiwarjo
„Yes/No Chart“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.
SobuskutkowarjoPřełožće „Yes/No Chart“ do swojeje rěče.
Na wuwiću zajimowany?
Přehladajće kod, hladajće do SVN-repozitorija abo abonujće wuwiwanski protokol přez RSS.
Protokol změnow
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.