{"id":66344,"date":"2017-04-29T10:39:53","date_gmt":"2017-04-29T10:39:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/quick-questionnaire\/"},"modified":"2023-11-25T16:50:27","modified_gmt":"2023-11-25T16:50:27","slug":"quick-questionnaire","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/quick-questionnaire\/","author":12980764,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5","stable_tag":"trunk","tested":"6.4.8","requires":"3.0.1","requires_php":"","requires_plugins":null,"header_name":"Quick Questionnaire","header_author":"Michiel van Eerd","header_description":"Create simple questionnaires directly in the editor","assets_banners_color":"","last_updated":"2023-11-25 16:50:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.michielvaneerd.nl","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1844,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"quick-questionnaire\/list":{"apiVersion":2,"name":"quick-questionnaire\/list","title":"Quick Questionnaire","icon":"list-view","category":"layout","editorScript":"file:.\/build\/index.js","editorStyle":"file:.\/css\/qq-editor.css","style":"file:.\/css\/qq.css","attributes":{"content":{"type":"string","source":"html","multiline":"li","selector":"ol, ul"},"showButton":{"type":"boolean","default":false},"ordered":{"type":"boolean","default":false},"qqId":{"type":"integer"}}}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1647992,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1647992,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1647992,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1754651,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Single select radio boxes","2":"Multiple select checkboxes","3":"Text input boxes","4":"Edit the exercise in the editor is simple"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6166,35725,586],"plugin_category":[],"plugin_contributors":[98050],"plugin_business_model":[],"class_list":["post-66344","plugin","type-plugin","status-publish","hentry","plugin_tags-exercise","plugin_tags-practice","plugin_tags-test","plugin_contributors-michielve","plugin_committers-michielve"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/quick-questionnaire.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/quick-questionnaire\/assets\/screenshot-1.png?rev=1647992","caption":"Single select radio boxes"},{"src":"https:\/\/ps.w.org\/quick-questionnaire\/assets\/screenshot-2.png?rev=1647992","caption":"Multiple select checkboxes"},{"src":"https:\/\/ps.w.org\/quick-questionnaire\/assets\/screenshot-3.png?rev=1647992","caption":"Text input boxes"},{"src":"https:\/\/ps.w.org\/quick-questionnaire\/assets\/screenshot-4.png?rev=1754651","caption":"Edit the exercise in the editor is simple"}],"raw_content":"<!--section=description-->\n<p>Create simple exercises directly in the editor by putting the possible answer(s) in double brackets.\nA quick questionnaire must be an ordered or unordened list.<\/p>\n\n<p>The following types of answers are possible:<\/p>\n\n<p><strong>Enter the correct answer in a textbox:<\/strong><\/p>\n\n<p>The correct answer has to be entered in a textbox.<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;The capital of France is ...? {text{ Paris }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p>You can also use a case insensitive textbox by using the <code>itext<\/code> property:<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;The capital of France is ...? {itext{ Paris }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p><strong>Enter the correct answer in a textbox - multiple answers possible:<\/strong><\/p>\n\n<p>The correct answer has to be entered in a textbox.<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;The capital of France or Italy is ...? {text{ Paris | Rome }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p><strong>Enter the correct answer in a textbox - regular expression:<\/strong><\/p>\n\n<p>If you have some regular expression skills, you can also specify this:<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;The capital of France or Rome is ...? {reg{ \/^(Paris|Rome)$\/ }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p><strong>Check the correct answer in radio buttons:<\/strong><\/p>\n\n<p>All possible answers are divided by |, the correct answer has to be marked with a &#042;.\nThe answers are displayed as radio boxes.<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;The capital of France? {radio{ Paris* | London | Berlin }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p><strong>Check all possible answers in checkboxes:<\/strong><\/p>\n\n<p>Mark alle correct answers with a &#042;.\nThe answers are displayed as checkboxes.<\/p>\n\n<pre><code>&lt;ul&gt;\n  &lt;li&gt;Countries of Europe? {checkbox{ France* | Netherlands* | Canada }}&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Click on the new menu item \"Quick Questionnaire\" to create quick questionnaires<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20change%20the%20look%20of%20the%20exercise%3F'><h3>How can I change the look of the exercise?<\/h3><\/dt>\n<dd><p>Just override the classes you see in the qq.css file.<\/p><\/dd>\n<dt id='change%20the%20options%20separator'><h3>Change the options separator<\/h3><\/dt>\n<dd><p>By default the <code>|<\/code> is used to separate the radio and checkbox options, but you can override this by Defining the <code>EASY_EXERCISE_SEPARATOR<\/code> constant in wp-config.php.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.5<\/h4>\n\n<ul>\n<li>Fixed bug: not checking if varaible is array<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Add question with a modal window<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Only save the list content instead of the whole post content<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Added custom block instead of expanding existing list block<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Using Gutenberg blocks to enable quick questionnaire lists and show buttons<\/li>\n<li>Renamed to quick questionnaire<\/li>\n<\/ul>\n\n<h4>1.19<\/h4>\n\n<ul>\n<li>Override answer separator by defining the QQ_SEPARATOR constant<\/li>\n<li>New <code>itext<\/code> option as a case insensitive textbox<\/li>\n<li>Wrap question inside span<\/li>\n<li>Removed jQuery dependency<\/li>\n<\/ul>\n\n<h4>1.18<\/h4>\n\n<ul>\n<li>Renamed to Easy Exercise everywhere<\/li>\n<li>Changed some CSS<\/li>\n<\/ul>\n\n<h4>1.17<\/h4>\n\n<ul>\n<li>Fixed bug: check for empty global $post variable in run_wptexturize filter<\/li>\n<\/ul>\n\n<h4>1.16<\/h4>\n\n<ul>\n<li>Adding correct answers to default rest API endpoint<\/li>\n<\/ul>\n\n<h4>1.15<\/h4>\n\n<ul>\n<li>Possible to get correct answers of all lists from API<\/li>\n<\/ul>\n\n<h4>1.14<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>1.13<\/h4>\n\n<ul>\n<li>Added API endpoints to get exercises, check answers and show good answers<\/li>\n<\/ul>\n\n<h4>1.12<\/h4>\n\n<ul>\n<li>Wrap content inside DIV instead of BODY tag<\/li>\n<\/ul>\n\n<h4>1.11<\/h4>\n\n<ul>\n<li>Flush rewrite rules after (de)activation<\/li>\n<li>Unregister post type after deactivation<\/li>\n<\/ul>\n\n<h4>1.10<\/h4>\n\n<ul>\n<li>Now working without using PHP sessions<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Escape value attribute for radio and checkboxes<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>JSON stringify on client and json_decode with stripslahes on server - this makes apostrof work<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Translation update<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Changed name to Easy Exercise<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Correctly handling of UTF-8<\/li>\n<li>Fix global wptexturize remove, now only for this post type<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Accented charachters<\/li>\n<li>Prevent three dots rewrite to ellipisis by removing wptexturize from the the_content filter<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Localization<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Remove tags and category taxonomies (you can set them with register_taxonomy_for_object_type later)<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Explicitly set type to text, radio, checkbox or reg.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Create simple exercises directly in the editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/66344","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=66344"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/michielve"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=66344"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=66344"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=66344"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=66344"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=66344"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=66344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}