wbQuiz – A WordPress Plugin

Description for v0.1.0

wbQuiz is a plugin for WordPress that gives you the ability to add a quiz to your site, as seen in these examples. It was written for Heather, because she asked so nice ;-)

Features

  • As many questions as you like
  • Three types of questions
    • Open
    • Multiple Choice – select one
    • Multiple Choice – select many
  • Customizable
  • Weighted scoring: different answers give different scores
  • Multiple rankings, as many as you like

Downloads

The latest version is 0.1.0.
You can download it here

Installation

Installation of wbquiz is a breeze:

  • Download and unzip the latest release.
  • Copy both files from the plugins-directory to your /wp-content/plugins directory
  • Activate wbQuiz in your Adminstration->Plugins panel

Using wbQuiz

Using wbQuiz is easy, just follow the steps below to get you started in no time:

  • Create a PageTemplate that uses the tag somewhere inside “The Loop”
  • Create a page using your new template
  • Add a Custom Key to your page called question_file with as value the path to a question_file. This path can be an absolute path from your server’s /-dir, or it can be relative from your /wp-content/plugins dir.e.g. ../myquestions.php or /var/www/myotherquestions.php

Creating a question_file

Copy plugins/wb_quiz_questions.php to a new file and start hacking. The provided example is documented fairly well, so that shouldn’t be a problem.
At the bottom of the question_file you can configure all the texts used by wbQuiz as well as the rankings. You can overlap rankings for some nice effects…