Skip to content

All templates live in templates/ in the plugin. Override path: {child-theme}/reign-lifterlms/<path>. Each file carries an @version line. Hook names use _ for / and -, so course/review-form fires reign_llms_before_course_review_form.

Template What it prints Variables
course/related.php Related courses under the course $ids
course/reviews.php Review summary, paged list and the form $course_id, $reviews, $show_list, $pages, $page, $page_var, $notice, $can_write, $logged_in, $enabled
course/review-form.php Stars, title and text $course_id
loop/content-detail.php The Detail catalog card (loaded through locate, so it has no data filter or before/after actions; skipped while your theme overrides LifterLMS loop/content.php) none; uses Reign_LLMS_Cards::facts()
loop/toolbar.php Catalog search box $action, $term, $label, $var
shortcode/instructors.php Instructor directory $users, $cols, $pages, $page, $page_var
lesson/reader-toggle.php The reading mode switch none
community/profile-courses.php Courses tab on a profile $section, $switch, $filters, $status, $cards, $own, $pages, $page, $page_var
loop/meta.php The catalog card line with lessons, length and difficulty $parts
dashboard/stats.php The row of Courses, Certificates and Achievements counts above the student dashboard $items

Every part except loop/content-detail has a data filter and before and after actions: course_related, course_reviews, course_review_form, loop_toolbar, loop_meta, dashboard_stats, shortcode_instructors, lesson_reader_toggle and community_profile_courses. For example reign_llms_course_reviews_data, reign_llms_before_course_reviews and reign_llms_after_course_reviews.

Keep the nonce field and the field names. The form posts to admin-post.php with the action reign_llms_review.

The instructor directory on a page.

[reign_lifterlms_instructors per_row="4" total="0"]. per_row is 1 to 6. total 0 lists everyone, paged. Instructors LifterLMS marks hidden are skipped. total is capped at 100 and ignores the reign_llms_instructors_per_page filter and paging. The directory lists users named as instructors on published courses and memberships, shows no email and links a website only when one is set. enable_slider is accepted and ignored. Paging uses the rllms_ip query variable; review paging uses rllms_rp. The directory reads at most 2,000 distinct instructor lists (the instructor team of a course or membership). On a site with more, some instructors may be missing from it.