Leírás
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.
<ul>
<li>The capital of France is ...? {text{ Paris }}</li>
</ul>
You can also use a case insensitive textbox by using the itext
property:
<ul>
<li>The capital of France is ...? {itext{ Paris }}</li>
</ul>
Enter the correct answer in a textbox – multiple answers possible:
The correct answer has to be entered in a textbox.
<ul>
<li>The capital of France or Italy is ...? {text{ Paris | Rome }}</li>
</ul>
Enter the correct answer in a textbox – regular expression:
If you have some regular expression skills, you can also specify this:
<ul>
<li>The capital of France or Rome is ...? {reg{ /^(Paris|Rome)$/ }}</li>
</ul>
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.
<ul>
<li>The capital of France? {radio{ Paris* | London | Berlin }}</li>
</ul>
Check all possible answers in checkboxes:
Mark alle correct answers with a *.
The answers are displayed as checkboxes.
<ul>
<li>Countries of Europe? {checkbox{ France* | Netherlands* | Canada }}</li>
</ul>
Képernyőmentések
Blokkok
This plugin provides 1 block.
- Quick Questionnaire
Telepítés
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Click on the new menu item „Quick Questionnaire” to create quick questionnaires
GYIK
-
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 theEASY_EXERCISE_SEPARATOR
constant in wp-config.php.
Vélemények
Nincsenek értékelések erről a bővítményről.
Közreműködők és fejlesztők
“Quick Questionnaire” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:
Közreműködők“Quick Questionnaire” fordítása a saját nyelvünkre.
Érdekeltek vagyunk a fejlesztésben?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Változási napló
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.