Template Overrides
The addon ships its own LifterLMS templates and lets you override any of them from your theme, so you can customize the markup without editing the plugin.
How template resolution works
Section titled “How template resolution works”The addon registers its lifterlms/ folder as the template source and routes LifterLMS course, membership, lesson, quiz and assignment views through it. When a template is needed, the addon looks in this order:
yourtheme/reign-lifterlms-addon/{template-name}yourtheme/{template-name}- The addon’s own
lifterlms/{template-name}
To override a template, copy it from the addon’s lifterlms/ folder into a reign-lifterlms-addon/ folder inside your (child) theme, keeping the same path, and edit your copy.
Templates that can be overridden
Section titled “Templates that can be overridden”| Template | Used for |
|---|---|
single-course.php |
Single course page. |
single-llms_membership.php |
Single membership page. |
single-llms-posts.php |
Single lesson, quiz and assignment pages. |
course/template-single-course-sidebar.php |
The sticky single-course sidebar. |
course/syllabus.php |
Course curriculum / syllabus. |
course/lesson-preview.php |
Lesson preview item. |
myaccount/dashboard-section.php |
A student dashboard section. |
myaccount/navigation.php |
Student dashboard navigation. |
Archive views (course archive, membership archive, taxonomy archives) are also routed through the addon’s template_include and lifterlms_locate_template filters, so a matching template in your theme overrides them.
Helper functions
Section titled “Helper functions”Two helpers back this system and are available to developers:
reign_lifterlms_locate_template( $template_name, $template_path, $default_path )returns the resolved path, respecting theme overrides.reign_lifterlms_get_template( $template_name, $args, $template_path, $default_path )locates and includes a template, passing$argsinto scope.
Both run through the reign_lifterlms_locate_template filter. See Helper functions.

