Skip to main content

How to Build a Quiz Template

Build one Elementor template that controls the layout of every LifterLMS quiz page on your site.

Requirements

Elementor Pro (for the Theme Builder), plus a course that already has at least one quiz attached to a lesson. Lifter Elements registers quizzes as a Theme Builder location; see Theme Builder Locations.

1. Create a Single Post template

In the WordPress dashboard, go to Templates > Theme Builder and click Add New.

Elementor Theme Builder entry in the WordPress Templates menu

Add New button at the top of the Theme Builder screen

For the template type, choose Single Post. Name the template (for example "Quiz") and click Create Template. Close the template library to start from a blank canvas.

Template type dialog with Single Post selected

2. Add the quiz content

Lifter Elements has no quiz-specific widgets. LifterLMS renders the whole quiz interface (start button, questions, results) through the post content, so the template only needs to output that content:

  • Post Title — the quiz name.
  • Post Content — the quiz itself. This is the one widget the template must contain; without it the quiz cannot be taken.

Around these, add Elementor theme elements and any widgets that do not depend on course context, such as headings, spacers, or a site logo. Do not expect Lifter Elements course widgets (Course Outline, Lesson Navigation, Mark Complete) or course dynamic tags to show data here; see the note under Result.

3. Publish with a display condition

Click Publish in the bottom-left corner of the editor. In the display conditions dialog, add a condition set to Include > Singular > Quizzes, then click Save & Close.

Publish settings with the Display Conditions option

Display condition set to include all quizzes

Use All under Quizzes to apply the template to every quiz, or pick individual quizzes to limit it. For more on conditions, see Elementor's Display Conditions guide.

Result

Every quiz page on the site now uses your template. Students see the quiz title and the LifterLMS quiz interface inside your layout instead of the theme's default single-post layout.

note

Course context only resolves on course and lesson pages. On a quiz page, Lifter Elements course widgets and course dynamic tags render empty, so keep quiz templates to the Post Title, Post Content, and context-free elements. Put course navigation in the lesson template instead; see How to Build a Lesson Template.