WPC Quiz Power

Patricia built this plugin for her own fun and to play with her family.

Quiz Power is a general-purpose plugin for building and playing multiple-choice quizzes at scale, meant for tens of thousands of questions. It covers the content, how it’s organised, playing, and member progress. It has no game look or characters of its own: those belong to a separate add-on and theme.

Content model

  • Question bank: questions live in their own database table so it stays fast at that size. A question belongs to one or several quizzes, or to none yet and just sits in the bank.
  • Quizzes: a quiz is a normal post. It has one difficulty level, a language, a number of questions per play, several categories (one of them primary), reference articles, and an optional sensitive-content warning. Quiz titles are unique (a duplicate gets ” – 2″, ” – 3″…), and the level is shown beside the title, not in it.
  • Difficulty scale: one scale for the whole site. Each level has a number, an optional name, and points per correct answer. The default is 1 Obvious, 2 Not so obvious, 3 Easily mistaken, each defined by how close the wrong answers are.
  • What a question holds:
    • The prompt, four answers (as text or images), and an explanation shown after answering.
    • Sources with attribution (e.g. Wikipedia, CC BY-SA, with the revision).
    • A creation date, plus optional “checked on” and “re-check by” dates for facts that change.
    • A link to the question it translates.
  • Organisation:
    • Categories nest as deep as you like.
    • Facets you configure yourself (Region, Era, Type, Themes) work as cross-cutting search tags.
    • Languages are set per quiz and per question.
  • Multilingual: Polylang integration is optional. One site serves every language; quizzes, categories and facets are linked across languages, and an edited original flags its translations for review.

Editorial workflow

  • Question bank screen (DataViews):
    • Filters by language, level, status, quiz, “in no quiz”, quiz category and facets.
    • Bulk actions: Add to / Move to / Remove from quiz; Add and Move can also create a new draft quiz.
    • Warnings for possible duplicate questions.
  • Statuses: draft → in review → approved / rejected, with a review queue. A question can’t be approved if any of its media lacks alt text or a licence.
  • Player reports: players can report a problem on any question, and the reports appear for review.
  • Import/export: CSV and JSON, always with a dry run first. Quizzes are imported before questions, and translations are matched by external ID.
  • WP-CLI commands and a REST API are also available.

Playing

  • Graded on the server: the correct answer never reaches the browser before the player answers.
  • Each attempt draws a random set of questions from the quiz. After each answer the player gets feedback, the explanation, the sources and the question’s dates.
  • Play modes:
    • Optional timer.
    • Shuffled questions and answers.
    • Save and resume.
    • Study mode with flashcards, no points.
    • Password-protected quizzes use WordPress’s own post passwords.
  • Accessibility: feedback is never shown by colour alone and is announced to screen readers. The player works fully from the keyboard and respects reduced-motion settings.
  • Sharing is text and link only (Fediverse, copy link, the phone’s share menu), with no tracking scripts.
  • Guests vs members:
    • Guests can play everything, but nothing is kept; their attempts are deleted after 24 hours.
    • Members earn the quiz level’s points for each correct answer. Only their best score per quiz counts toward their total, and they get a history and statistics.
  • Leaderboard: optional and off by default. Admin and members opt in for each site.

Blocks and templates

  • The player itself is a group of blocks, so every piece can be styled or rearranged in the Site Editor (start, resume, study, next, share buttons…).
  • Other blocks:
    • Quiz Tree for browsing a large catalogue: categories only, foldable, and it works without JavaScript.
    • Quiz lists and category lists (Query Loop variations).
    • Quiz Meta, which shows level, licence, “Your best” and “Last played”.
    • Breadcrumbs with structured data for search engines.
    • Member Stats.
    • Leaderboard.
  • Plugin templates: the Quizzes archive (the whole tree), a category page (its subtree plus its own quizzes) and the single quiz page.

Settings, privacy, extensibility

  • Settings: answers per question, content licence (CC BY-SA 4.0 by default), hiding sensitive quizzes, how long guest attempts are kept, the leaderboard, the difficulty scale editor, the facets editor, statistics thresholds and what to delete on uninstall.
  • Privacy: WordPress personal-data export and erase, plus privacy policy text.
  • Permissions: separate capabilities for managing, editing questions and reviewing.
  • For add-ons: filters such as the points calculation and extra fields on categories.