Shortcode Reference
All shortcodes are placed inside WordPress page content. Create a page, add the shortcode, and (where indicated) configure the page URL in Training Hub → Settings → Pages & Reports.
Students must be logged in to use student-facing shortcodes. Instructor shortcodes require the dthub_manage_tutorials capability.
Free vs Pro: Shortcodes marked 🔒 Pro require Dantian Training Hub Pro to be active. When Pro is deactivated, those shortcodes render a neutral “feature unavailable” message rather than raw
[shortcode]text.
Student-facing shortcodes
[dthub_student_dashboard]
Plugin: Free
Description: Central student dashboard — attendance summary and navigation to other student pages.
Settings page required: No.
[dthub_clinic_student_dashboard]
Plugin: Free
Description: Student clinic allocation and roster view — shows upcoming clinic sessions and attendance history.
Settings page required: Yes — configure in Settings → Pages & Reports → Clinic dashboard page.
Renamed: v1.43.0 — was [clinic_student_dashboard] (no back-compat alias; update existing pages).
[dthub_student_calendar]
Plugin: Free
Description: Student calendar view of their scheduled tutorials and clinic sessions.
Settings page required: Yes — configure in Settings → Pages & Reports → Student calendar page.
[dthub_student_report]
Plugin: Free
Description: Student’s own attendance report — sessions attended, missed, and recording claims. Does not expose other students’ data.
Settings page required: Yes — configure in Settings → Pages & Reports → Student report page.
[dthub_recording_claims]
Plugin: Free
Description: Student submission form for recording claims (watching a missed tutorial via recording).
Settings page required: Yes — configure in Settings → Pages & Reports → Recording claims page.
Prerequisite: Enable Recording Claims in Settings → Pages & Reports.
[dthub_email_preferences]
Plugin: Free
Description: Student email notification preferences — students opt in or out of reminder emails.
Settings page required: No.
[dthub_extension_request] 🔒 Pro
Plugin: Pro
Description: Student form to request a deadline extension on an assignment or quiz.
Settings page required: Configure the page URL in Settings → Assignments → Extension Request page.
[dthub_student_action_plan] 🔒 Pro
Plugin: Pro
Description: Student view of their published action plans. Shows a summary strip (total plans, open/completed tasks, latest review date) and expandable plan details.
Settings page required: No — accessed via the admin-published link.
[dthub_declarations] 🔒 Pro — requires the Rubric Grading Suite module
Plugin: Pro
Description: Student academic integrity / authenticity declaration form for the rubric grading workflow.
[dthub_assessment_feedback] 🔒 Pro — requires the Rubric Grading Suite module
Plugin: Pro
Description: Student view of rubric grading feedback on their own submitted assessments — grader comments, pass/fail outcome, and any attached feedback file. Also displays automatically beneath the assignment on TutorLMS’s own single-assignment page; use this shortcode when you want the feedback surfaced on a separate page instead.
Settings page required: No.
Instructor / trainer-facing shortcodes
[dthub_mark_attendance]
Plugin: Free
Description: Frontend attendance marking page for instructors — one Course + Session selector covering tutorials and clinics (sessions are labelled with their type), with batch controls, ad-hoc students, and a Missing Attendance tab listing past sessions that still need records. Visible to instructors only; other visitors see a notice.
Settings page required: Yes — configure in Settings → Pages & Reports → Mark attendance page.
[dthub_instructor_calendar]
Plugin: Free
Description: Instructor view of all scheduled sessions in calendar format — tutorials and clinics.
Settings page required: No.
[dthub_session_notes]
Plugin: Free
Description: Instructor session notes viewer — browse notes per tutorial or clinic session. Notes are written from the Mark Attendance page (Trainer Session Feedback field), not from this shortcode.
Settings page required: No.
[dthub_student_notes]
Plugin: Free
Description: Instructor view of per-student reasonable-adjustments or welfare notes.
Settings page required: No.
[dthub_course_report]
Plugin: Free
Description: Frontend cohort-level course attendance report — student list, per-session attendance breakdown, and summary statistics for a selected course. Mirrors the admin Training Hub → Course Report screen. Visible to instructors only.
Settings page required: No.
Parameter: course_id — pre-select a specific course instead of showing the course picker.
[dthub_assignment_hub] 🔒 Pro (recommended)
Plugin: Pro
Description: Primary trainer hub — tabbed workspace combining Grading Queue, Extension Reviews, and Assignment Setup. Use this as the main instructor shortcode page for assignment-related workflows.
Settings page required: No.
[dthub_assignment_due_dates] 🔒 Pro
Plugin: Pro
Description: Instructor UI for viewing and managing assignment due dates across courses.
Settings page required: No.
Note: [dthub_assignment_hub] provides a superset of this — use that for new pages.
[dthub_trainer_extension_reviews] 🔒 Pro
Plugin: Pro
Description: Instructor review queue — approve or decline pending student extension requests.
Settings page required: No.
Note: [dthub_assignment_hub] includes this as a tab — use that for new pages.
[dthub_assignment_setup_hub] 🔒 Pro
Plugin: Pro
Description: Instructor shortcut page for assignment configuration — due dates, rubric mapping, overdue management.
[dthub_overdue_assignments] 🔒 Pro
Plugin: Pro
Description: List of overdue assignments, filterable by course and trainer. Supports bulk follow-up email sends.
[dthub_trainer_hub] 🔒 Pro
Plugin: Pro
Description: General trainer landing page — central entry point for all trainer-facing tools.
[dthub_trainer_action_plans] 🔒 Pro
Plugin: Pro
Description: Frontend trainer action-plan management — lists the action plans for the students you teach and opens one to edit (items/actions, trainer comments, attachments) and save, with PDF download. The page is set under Settings → Pages & Reports → Trainer Action Plans; site-wide on/off under Action Plan Access → Trainer frontend (default on). Use this where trainers are blocked from wp-admin (e.g. TutorLMS tutor_instructor); generating a brand-new plan stays on the admin page.
[dthub_grading_queue] 🔒 Pro — requires the Rubric Grading Suite module
Plugin: Pro
Description: Instructor rubric grading queue — review and grade submitted assessments.
[dthub_assessment_export] 🔒 Pro — requires the Rubric Grading Suite module
Plugin: Pro
Description: Bulk PDF export of assessment / rubric results (instructor view).
[dthub_planner_trainer_review] 🔒 Pro
Plugin: Pro
Description: The trainer review page. It hosts two review rounds on one page, so a trainer has a single place to go:
- Timetable review — the trainer reads their planned sessions for a year and accepts or flags each one. Token-authenticated from an emailed invite link; no wp-admin login required.
- Subject-outline review — opened at
?dthub_outline_review=<outline id>from an outline invitation. Login-gated (reviewers are WordPress users). The reviewer reads each section, comments or suggests replacement text, downloads the draft PDF, and approves or hands back. Visiting the page with no outline id lists every outline awaiting that reviewer.
Required by: subject-outline invitations. The page must be selected as Trainer Review Page in Timetable Planner → Settings, or sending invitations is refused.
[dthub_planner_trainer_unavailability] 🔒 Pro
Plugin: Pro
Description: Timetable planner — trainer submits unavailability dates for the upcoming period.
Renamed tags (migrated automatically)
The tags below are no longer registered. A one-time upgrade migration rewrote any published page that used one to its replacement automatically — existing pages do not need editing. Listed for reference only; always use the replacement on new pages.
| Old tag | Replacement |
|---|---|
[tam_*] (the full legacy shortcode family) |
[dthub_*] — same suffix, e.g. [tam_mark_attendance] → [dthub_mark_attendance] (migrated on the 2.0.0 upgrade) |
| [dthub_trainer_workspace] | [dthub_assignment_hub] |
| [tutor_rubric_grading_queue] | [dthub_grading_queue] |
| [tutor_rubric_feedback] | [dthub_assessment_feedback] |
| [tutor_rubric_bulk_export] | [dthub_assessment_export] |
Shortcode parameters
Most shortcodes accept no parameters — they render based on the logged-in user’s identity. Exceptions:
| Shortcode | Parameter | Description |
|---|---|---|
[dthub_student_report] |
student_id |
(Admin only) Render the report for a specific student ID |
[dthub_course_report] |
course_id |
Pre-select a specific course |