Docs

Publish quizzes

Only published quizzes can be shown to visitors. After publishing a quiz in RD Quiz → Quizzes, add it to a WordPress page by using the block or a shortcode.

Use the RD Quiz block

  1. Open Pages and edit an existing page or create a new one.
  2. Select the + block inserter.
  3. Search for and add RD Quiz.
  4. In the block settings, select the published quiz.
  5. Choose whether the block should show the quiz title and description.
  6. Publish or update the page.

The block loads the current quiz when the page is viewed. Changes to the quiz are reflected everywhere the block is used.

Use a shortcode

For the Classic Editor or another shortcode-compatible editor, add:

[rd_quiz id="12"]

Replace 12 with the quiz ID. You can find it in the browser address while editing the quiz.

To hide the title and description supplied by the quiz, use:

[rd_quiz id="12" show_title="0" show_desc="0"]

Test the public page

The RD Quiz block in the page editor, with the quiz selected and its display settings.

Open the page in a private browser window or sign out before testing it. An ordinary visitor is limited to one submitted attempt by default, so the private quiz preview is the better place for repeated author testing.

Check that the page has a published quiz selected, that the quiz has published questions, and that the page itself is published. A published quiz alone does not create a public URL.

Point at a quiz’s title on the Quizzes screen and choose Preview to run it privately at any time.

The quizzes list, with the Edit, Delete and Preview links under a quiz title.