LifterLMS Templates
LifterLMS templates are stored in the LifterLMS plugin directory at lifterlms/templates/
.
You can see a full list of the templates available at https://github.com/gocodebox/lifterlms/tree/master/templates
Any template in the LifterLMS Templates directory can be overridden by adding a file of the same name to either your Theme or Child Theme.
When LifterLMS loads a template it, it attempts to locate a template in the following order:
- Child Theme
- Theme
- LifterLMS
To add templates to your theme or child theme, add a directory titled lifterlms
and then add your custom template with the same name and path as the default template in LifterLMS.
For example, if you’d like to override the default template for templates/course/complete-lesson-link.php
you would add a file to your theme or child theme at my-theme/lifterlms/course/complete-lesson-link.php
You can use this filter to add additional directories to list of directories LifterLMS looks in for override templates.