1. Home
  2. Docs
  3. Addons
  4. Extra Shortcodes

Extra Shortcodes

Documentation for 7.0 version of plugins is available at QSM 7.0 Documentation

The Extra Shortcodes addon gives you more shortcodes to use with Quiz and Survey Master.

INSTALLATION/SETUP

Once you have purchased the addon, you will have access to download the addon. To install, simply upload the addon as a normal WordPress plugin. To do so, go to the Plugins page and click Add New. Then, click Upload.

From there, upload the zip file that you downloaded when downloading the addon. Once the addon has uploaded, you should now have the plugin QSM – Extra Shortcodes listed in your list of plugins. Activate that plugin. Once activated, the plugin will add a new tab to your Addon Settings page.

QSM - Extra Shortcodes Addon - Updated 2021
QSM – Extra Shortcodes Addon

SETTINGS/CONFIGURE

On the Extra Shortcodes tab on the Addon Settings page, you will see a list of your new shortcodes with an explanation on how to use them. To use the shortcodes, simply copy and paste them into any post or page.

Replace the quiz_id value with the ID of your quiz. The ID can be found on the Quizzes page. If the shortcode has a score value, replace that value with the pass/fail score of your quiz.

Following are all the Extra shortcodes you get with the addon:

There are a variety of shortcodes that you can use with this add-on. Examples are below.

  • [ qsm_passed quiz_id=1 score=90 ]  – It will display the number of users who passed the quiz with a score above the value provided.
  • [ qsm_passed_points quiz_id=1 score=90 ]  – It will display the number of users who passed the quiz with a point score above the value provided.
  • [ qsm_failed quiz_id=1 score=90 ]  – It will display the number of users who failed the quiz with a score below the value provided.
  • [ qsm_failed_points quiz_id=1 score=90 ]  – It will display the number of users who failed the quiz with a point score below the value provided.
  • [ qsm_average quiz_id=1 ] – It will display the average score of the users who have taken the quiz.
  • [ qsm_average_points quiz_id=1 ] – It will display the average point score of the users who have taken the quiz.
  • [ qsm_taken quiz_id=1 ] – It will display the number of times the quiz has been taken.
  • [ qsm_recent amount=1 ] – It will display the most recent quizzes with links to the quiz. Use the “amount” to set how many quizzes to list.
  • [ qsm_popular amount=1 ] – It will display the quizzes that have been taken the most. Use the “amount” to set how many quizzes to list.

Following is an example of the extra shortcodes addon in action

 

Extra Shortcodes Addon Output Example