{"id":79515,"date":"2018-01-09T07:31:11","date_gmt":"2018-01-09T07:31:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/yesno-chart\/"},"modified":"2026-01-06T09:05:35","modified_gmt":"2026-01-06T09:05:35","slug":"yesno","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/yesno\/","author":15863737,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.12","stable_tag":"1.0.12","tested":"6.9.4","requires":"4.4","requires_php":"7.0","requires_plugins":null,"header_name":"Yes\/No Chart","header_author":"kohseiworks","header_description":"Yes\/No Chart plugin. Yes\/No\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u308c\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059","assets_banners_color":"","last_updated":"2026-01-06 09:05:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/kohsei-works.com\/plugins","header_plugin_uri":"https:\/\/kohsei-works.com\/plugins","header_author_uri":"https:\/\/kohsei-works.com","rating":4.5,"author_block_rating":0,"active_installs":2000,"downloads":22039,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"kohseiworks","date":"2018-01-09 07:30:56"},"1.0.1":{"tag":"1.0.1","author":"kohseiworks","date":"2018-01-11 08:07:46"},"1.0.10":{"tag":"1.0.10","author":"kohseiworks","date":"2020-04-17 05:47:29"},"1.0.11":{"tag":"1.0.11","author":"kohseiworks","date":"2021-04-02 09:03:42"},"1.0.12":{"tag":"1.0.12","author":"kohseiworks","date":"2026-01-06 09:05:35"},"1.0.2":{"tag":"1.0.2","author":"kohseiworks","date":"2018-02-19 04:41:06"},"1.0.3":{"tag":"1.0.3","author":"kohseiworks","date":"2018-03-26 08:42:42"},"1.0.4":{"tag":"1.0.4","author":"kohseiworks","date":"2018-03-31 04:16:08"},"1.0.5":{"tag":"1.0.5","author":"kohseiworks","date":"2018-05-21 07:07:32"},"1.0.6":{"tag":"1.0.6","author":"kohseiworks","date":"2018-12-09 23:29:20"},"1.0.7":{"tag":"1.0.7","author":"kohseiworks","date":"2019-06-10 02:03:53"},"1.0.8":{"tag":"1.0.8","author":"kohseiworks","date":"2019-11-18 02:23:11"},"1.0.9":{"tag":"1.0.9","author":"kohseiworks","date":"2020-04-10 07:14:07"}},"upgrade_notice":{"1.0.12":"<p>Fixed shortcode parameter security issue.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1799522,"resolution":"1","location":"assets","locale":""},"screenshot-10.png":{"filename":"screenshot-10.png","revision":1799522,"resolution":"10","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1799522,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1799522,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1799522,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1799522,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":1799522,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":1799522,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":1799522,"resolution":"8","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":1799522,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"List of \"Question Set\": \u8a2d\u554f\u30bb\u30c3\u30c8\u306e\u30ea\u30b9\u30c8","2":"List of \"Questions\" belonging to the set: \u30bb\u30c3\u30c8\u5185\u306e\u8a2d\u554f\u306e\u30ea\u30b9\u30c8","3":"Form for adding new \"Question\": \u8a2d\u554f\u3092\u8ffd\u52a0\u3059\u308b\u30d5\u30a9\u30fc\u30e0","4":"Adding new question as a \"Result\": \u300c\u7d50\u679c\u300d\u3068\u3057\u3066\u8a2d\u554f\u3092\u8ffd\u52a0","5":"Select a \"Branch\" from the questions in the same set: \u540c\u3058\u30bb\u30c3\u30c8\u306e\u8a2d\u554f\u304b\u3089\u5206\u5c90\u5148\u3092\u9078\u629e","6":"You can set up to 10 branches \"Yes, No\" and others: \u5206\u5c90\u5148\u306f\u300c\u306f\u3044\u30fb\u3044\u3044\u3048\u300d\u306a\u306910\u500b\u307e\u3067\u8a2d\u5b9a\u53ef\u80fd","7":"After setting all, Insert short-code on any page: \u8a2d\u5b9a\u304c\u6e08\u3093\u3060\u3089\u4efb\u610f\u306e\u30da\u30fc\u30b8\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u633f\u5165","8":"It will start with the first question: \u6700\u521d\u306e\u8a2d\u554f\u304b\u3089\u958b\u59cb","9":"A question without \"Branch\" is used as \"result\" and it is a end point: \u5206\u5c90\u306e\u306a\u3044\u8a2d\u554f\u306f\u300c\u7d50\u679c\uff08\u7d42\u70b9\uff09\u300d\u3067\u3059","10":"If you make a \"Branch\" to the first question, it is \"Once again\": \u6700\u521d\u306e\u8cea\u554f\u3078\u306e\u5206\u5c90\u3092\u4f5c\u308b\u3068\u300c\u3082\u3046\uff11\u5ea6\u300d\u3067\u3059"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[585,2510,584,16919,151644],"plugin_category":[],"plugin_contributors":[151645,85252],"plugin_business_model":[],"class_list":["post-79515","plugin","type-plugin","status-publish","hentry","plugin_tags-answer","plugin_tags-chart","plugin_tags-question","plugin_tags-questionnaire","plugin_tags-yesno","plugin_contributors-kohseiworks","plugin_contributors-tnomi","plugin_committers-kohseiworks"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yesno.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-1.png?rev=1799522","caption":"List of \"Question Set\": \u8a2d\u554f\u30bb\u30c3\u30c8\u306e\u30ea\u30b9\u30c8"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-2.png?rev=1799522","caption":"List of \"Questions\" belonging to the set: \u30bb\u30c3\u30c8\u5185\u306e\u8a2d\u554f\u306e\u30ea\u30b9\u30c8"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-3.png?rev=1799522","caption":"Form for adding new \"Question\": \u8a2d\u554f\u3092\u8ffd\u52a0\u3059\u308b\u30d5\u30a9\u30fc\u30e0"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-4.png?rev=1799522","caption":"Adding new question as a \"Result\": \u300c\u7d50\u679c\u300d\u3068\u3057\u3066\u8a2d\u554f\u3092\u8ffd\u52a0"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-5.png?rev=1799522","caption":"Select a \"Branch\" from the questions in the same set: \u540c\u3058\u30bb\u30c3\u30c8\u306e\u8a2d\u554f\u304b\u3089\u5206\u5c90\u5148\u3092\u9078\u629e"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-6.png?rev=1799522","caption":"You can set up to 10 branches \"Yes, No\" and others: \u5206\u5c90\u5148\u306f\u300c\u306f\u3044\u30fb\u3044\u3044\u3048\u300d\u306a\u306910\u500b\u307e\u3067\u8a2d\u5b9a\u53ef\u80fd"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-7.png?rev=1799522","caption":"After setting all, Insert short-code on any page: \u8a2d\u5b9a\u304c\u6e08\u3093\u3060\u3089\u4efb\u610f\u306e\u30da\u30fc\u30b8\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u633f\u5165"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-8.png?rev=1799522","caption":"It will start with the first question: \u6700\u521d\u306e\u8a2d\u554f\u304b\u3089\u958b\u59cb"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-9.png?rev=1799522","caption":"A question without \"Branch\" is used as \"result\" and it is a end point: \u5206\u5c90\u306e\u306a\u3044\u8a2d\u554f\u306f\u300c\u7d50\u679c\uff08\u7d42\u70b9\uff09\u300d\u3067\u3059"},{"src":"https:\/\/ps.w.org\/yesno\/assets\/screenshot-10.png?rev=1799522","caption":"If you make a \"Branch\" to the first question, it is \"Once again\": \u6700\u521d\u306e\u8cea\u554f\u3078\u306e\u5206\u5c90\u3092\u4f5c\u308b\u3068\u300c\u3082\u3046\uff11\u5ea6\u300d\u3067\u3059"}],"raw_content":"<!--section=description-->\n<p>This plugin provides the function to create a set of questions to answer with \"yes \/ no (\/or other)\". <br \/>\nRequires PHP: 7.0<br \/>\nYes\/No\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u308c\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002<br \/>\n\u5fc5\u9808PHP\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a7.0<br \/><\/p>\n\n<p>The guide is here. \u30ac\u30a4\u30c9\u306f\u3053\u3061\u3089\u3067\u3059<br \/>\n<a href=\"https:\/\/kohsei-works.com\/plugins\">\u65e5\u672c\u8a9e(ja)<\/a><\/p>\n\n<!--section=installation-->\n<p>This plug-in makes several pages and data base tables automatically.<br \/>\n\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u3092\u81ea\u52d5\u7684\u306b\u4f5c\u308a\u307e\u3059<\/p>\n\n<h4>Installation<\/h4>\n\n<ol>\n<li><p>Donwload plugin zip file.<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/p><\/li>\n<li><p>Upload plugin file from Administrator menu \u201cPlugins &gt; Add New &gt; Upload Plugin\u201d.<br \/>\n\u7ba1\u7406\u753b\u9762\u300c\u30d7\u30e9\u30b0\u30a4\u30f3 &gt; \u65b0\u898f\u8ffd\u52a0 &gt; \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u300d\u304b\u3089\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059<\/p><\/li>\n<li><p>Activate the plugin.<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3057\u307e\u3059<\/p><\/li>\n<\/ol>\n\n<h4>Set questions<\/h4>\n\n<ol>\n<li><p>Open a menu \"Yes \/ No: Question Set\". <br \/>\n\"Question Set\" is a group that brings together questions.<br \/>\n\u30e1\u30cb\u30e5\u30fc\u300cYes\/No: \u8a2d\u554f\u30bb\u30c3\u30c8\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/p><\/li>\n<li><p>Insert the name of new question set in the top line, and \"Update\".<br \/>\nWhen it is added, open \"Add Question\". <br \/>\n\u65b0\u3057\u3044\u8a2d\u554f\u30bb\u30c3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u3089\u300c\u8a2d\u554f\u8ffd\u52a0\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/p><\/li>\n<li><p>Enter the question contents.<br \/>\nYou can choose \"Question (with branch)\" and \"Result (No branch)\". <br \/>\n\u8a2d\u554f\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u300c\u8a2d\u554f\uff08\u5206\u5c90\u3042\u308a\uff09\u300d\u304b\u300c\u7d50\u679c\uff08\u5206\u5c90\u306a\u3057\uff09\u300d\u3092\u9078\u3079\u307e\u3059\u3002<\/p><\/li>\n<li><p>You can edit the question from list of \"Questions\". <br \/>\n\u8a2d\u554f\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u30ea\u30b9\u30c8\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a2d\u554f\u3092\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/p><\/li>\n<li><p>Select a \"Branch\" from the questions in the same set.<br \/>\nYou can set up to 10 branches \"Yes, No\" and others.<br \/>\nA question without \"Branch\" is used as \"result\" and it is a end point.<br \/>\n\u540c\u3058\u30bb\u30c3\u30c8\u306e\u8a2d\u554f\u304b\u3089\u5206\u5c90\u5148\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u5206\u5c90\u306f\u300c\u306f\u3044\u30fb\u3044\u3044\u3048\u300d\u306e\u307b\u304b10\u500b\u307e\u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002 <br \/>\n\u5206\u5c90\u306e\u306a\u3044\u8a2d\u554f\u306f\u300c\u7d50\u679c\uff08\u7d42\u70b9\uff09\u300d\u306b\u306a\u308a\u307e\u3059\u3002<\/p><\/li>\n<li><p>After setting all, Insert short-code on any page.<br \/>\n\u8a2d\u5b9a\u304c\u6e08\u3093\u3060\u3089\u4efb\u610f\u306e\u30da\u30fc\u30b8\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li>If you encounter some problems, please ask me.<br \/>\n\u3054\u4e0d\u660e\u306a\u70b9\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044<\/li>\n<\/ul>\n<dl>\n<dt id='can%20not%20set%20questions%20in%20the%20%22editor%22%20role%3F%3Cbr%3E%22%E7%B7%A8%E9%9B%86%E8%80%85%22%E6%A8%A9%E9%99%90%E3%81%A7%E3%82%82%E8%A8%AD%E5%95%8F%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%81%8B%EF%BC%9F'><h3>Can not set questions in the \"Editor\" role?<br \/>\"\u7de8\u96c6\u8005\"\u6a29\u9650\u3067\u3082\u8a2d\u554f\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u304b\uff1f<\/h3><\/dt>\n<dd><p>If you want the \"Editor\" role to also set the question, add the following code to the theme \"functions.php\".<br \/>\n\"\u7de8\u96c6\u8005\"\u6a29\u9650\u3067\u3082\u8a2d\u554f\u3092\u8a2d\u5b9a\u3055\u305b\u308b\u5834\u5408\u306f\u3001\u304a\u4f7f\u3044\u306e\u30c6\u30fc\u30de\u306e\"functions.php\" \u306b\u6b21\u306e\u3088\u3046\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<br \/><\/p>\n\n<pre><code>add_filter('yesno_allow_menu', 'my_menu_role',99 );\nfunction my_menu_role( $args ){\n    return 'edit_pages';\n}\nadd_filter('yesno_allow_generate', 'my_generate_role', 99 );\nfunction my_generate_role( $args ){\n    return current_user_can('edit_pages');\n}\n<\/code><\/pre>\n\n<p><br \/>\n* See the document on roles.<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Roles_and_Capabilities\">https:\/\/codex.wordpress.org\/Roles_and_Capabilities<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.12<\/h4>\n\n<ul>\n<li>Fixed shortcode parameter security issue.<\/li>\n<\/ul>\n\n<h4>1.0.11<\/h4>\n\n<ul>\n<li>Fixed a bug when Quotation marks (single or double) were used in \"Label\" of the question choices.<\/li>\n<\/ul>\n\n<h4>1.0.10<\/h4>\n\n<ul>\n<li>In yesno.js, automatic scrollback was turned off by default.<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>The scroll has been added that return to the top of the \"Yes\/No Chart\" block after clicking the \"Yes\/No\" button.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>The text of the \"back\" button in yesno.js was localized by the translation file.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>After displaying the result, the child elements of '# choices' will be removed with transparency.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>When creating the table, collation of text type column is set to \"utf8_general_ci\".<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Roles that can set question can be changed by \"yesno_allow_generate\" filter.<\/li>\n<li>Small bug fix.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>\"Redirect to(URL)\" is saved without entering a question.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Problem with the back button fixed.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>\"yesno.js\" has been slightly fixed.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>\"Requires at least\" was changed to \"4.4\".<\/li>\n<li>This plugin update information feed has been added.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"This plugin provides the function to create a set of questions to answer with &quot;yes \/ no (\/or other)&quot;. Yes\/No\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u308c\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/79515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=79515"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kohseiworks"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=79515"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=79515"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=79515"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=79515"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=79515"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=79515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}