Contents
Pages settings - Plugixa Exam
The plugin owns a small number of front-end addresses. This tab decides which page on your site backs each one.
The routes
| Route | Shows |
|---|---|
/exams/ |
The catalogue of published exams |
/exams/<slug>/ |
One exam, with its Start button |
/exams/<slug>/take/ |
The runner |
/result/<id>/ |
One result |
/my-exams/ |
The learner portal |
/verify/<token>/ |
Public certificate verification |
Mapping each to a real page means they inherit your theme, appear in your menus, and can carry your own content above or below the plugin’s output.
Changing the base
exams is the default first segment. To serve /assessments/ instead, filter it
in code:
add_filter( 'plugixa_exam_url_base', fn() => 'assessments' );
All six routes follow. See Hooks.
Multilingual sites
All six routes answer under a language prefix, so /fr/exams/ works, in the free
edition as well as Pro.
This was broken before 1.0.0: on a site using Polylang with language directories,
an exam had no address in any language but the default, and /fr/exams/ reported
that the page did not exist. If you are seeing that, update.
Caching
The runner and result pages are always uncached. The catalogue and an exam’s page are uncached only for somebody signed in or part-way through an exam, since those carry their own history; for a first-time visitor they are unchanged and still cacheable, and looking at an exam sets no cookie.
Troubleshooting
| Symptom | Usual cause |
|---|---|
| Every front-end URL 404s | Visit Settings -> Permalinks once to flush rewrite rules. |
| One route 404s and the rest work | That route is not mapped to a page here. |
/fr/exams/ 404s but /exams/ works |
An older build. Update. |
| The page renders twice | The mapped page also contains a shortcode for the same view. Use one or the other. |
What to do next
- Place individual lists yourself with Shortcodes.
- Change the markup in Templates and Overrides.
- Back to Settings.