=== Quick Questionnaire === Contributors: michielve Tags: exercise, practice, test Requires at least: 3.0.1 Tested up to: 6.4.1 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Create simple exercises directly in the editor. == Description == Create simple exercises directly in the editor by putting the possible answer(s) in double brackets. A quick questionnaire must be an ordered or unordened list. The following types of answers are possible: __Enter the correct answer in a textbox:__ The correct answer has to be entered in a textbox. You can also use a case insensitive textbox by using the `itext` property: __Enter the correct answer in a textbox - multiple answers possible:__ The correct answer has to be entered in a textbox. __Enter the correct answer in a textbox - regular expression:__ If you have some regular expression skills, you can also specify this: __Check the correct answer in radio buttons:__ All possible answers are divided by |, the correct answer has to be marked with a \*. The answers are displayed as radio boxes. __Check all possible answers in checkboxes:__ Mark alle correct answers with a \*. The answers are displayed as checkboxes. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Click on the new menu item "Quick Questionnaire" to create quick questionnaires == Frequently Asked Questions == = How can I change the look of the exercise? = Just override the classes you see in the qq.css file. = Change the options separator = By default the `|` is used to separate the radio and checkbox options, but you can override this by Defining the `EASY_EXERCISE_SEPARATOR` constant in wp-config.php. == Screenshots == 1. Single select radio boxes 2. Multiple select checkboxes 3. Text input boxes 4. Edit the exercise in the editor is simple == Changelog == = 2.5 = * Fixed bug: not checking if varaible is array = 2.4 = * Add question with a modal window = 2.3 = * Only save the list content instead of the whole post content = 2.2 = * Added custom block instead of expanding existing list block = 2.0 = * Using Gutenberg blocks to enable quick questionnaire lists and show buttons * Renamed to quick questionnaire = 1.19 = * Override answer separator by defining the QQ_SEPARATOR constant * New `itext` option as a case insensitive textbox * Wrap question inside span * Removed jQuery dependency = 1.18 = * Renamed to Easy Exercise everywhere * Changed some CSS = 1.17 = * Fixed bug: check for empty global $post variable in run_wptexturize filter = 1.16 = * Adding correct answers to default rest API endpoint = 1.15 = * Possible to get correct answers of all lists from API = 1.14 = * Bug fixes = 1.13 = * Added API endpoints to get exercises, check answers and show good answers = 1.12 = * Wrap content inside DIV instead of BODY tag = 1.11 = * Flush rewrite rules after (de)activation * Unregister post type after deactivation = 1.10 = * Now working without using PHP sessions = 1.9 = * Escape value attribute for radio and checkboxes = 1.8 = * JSON stringify on client and json_decode with stripslahes on server - this makes apostrof work = 1.7 = * Translation update = 1.6 = * Changed name to Easy Exercise = 1.5 = * Correctly handling of UTF-8 * Fix global wptexturize remove, now only for this post type = 1.4 = * Accented charachters * Prevent three dots rewrite to ellipisis by removing wptexturize from the the_content filter = 1.3 = * Localization = 1.2 = * Remove tags and category taxonomies (you can set them with register_taxonomy_for_object_type later) = 1.1 = * Explicitly set type to text, radio, checkbox or reg. = 1.0 = * First release.