Template Overrides
The addon overrides LearnDash 30 (LD30) templates to apply the Reign layout. You can override any of them from your theme without touching the plugin.
Resolution order
Section titled “Resolution order”Templates are located through the addon’s learnmate_locate_template() helper in this order:
- Child theme copy
- Parent theme copy
- Plugin copy (the addon’s own
learndash/templates)
The first match wins. To customize a template, copy the addon’s version into your theme, keeping the same relative path, and edit your copy.
Templates the addon provides
Section titled “Templates the addon provides”The addon ships overrides under its learndash/ directory, including:
single-sfwd-courses.php,single-sfwd-groups.phpld30/archive-sfwd-courses.php,ld30/taxonomy-ld_course_category.phpld30/templates/course.php,ld30/templates/group.phpld30/templates/ld_course_list_template.phpld30/templates/modules/infobar.php,ld30/templates/modules/prev-next.phpld30/templates/focus/sidebar.phpld30/ld-template-parts/(course curriculum, list views 1-3, course topbar)templates/archive-groups.php
Filter hooks for template resolution
Section titled “Filter hooks for template resolution”If you need to redirect a single template rather than copy the whole file, use:
apply_filters( 'learnmate_locate_template', $template, $template_name );Theme coupling
Section titled “Theme coupling”The addon consumes Reign theme hooks and customizer values rather than defining its own color controls. It has no Kirki dependency and, on Reign 8.0.0, reads the theme’s --reign-* CSS variables so course and group pages follow the theme’s token-based colors (light, dark, and auto). It also reads theme mods for archive headers, archive layout, single header images, and breadcrumb settings, and consumes filters such as reign_customizer_supported_post_types, reign_breadcrumbs, and reign_page_header_section_title.
Meta keys
Section titled “Meta keys”Per-item choices are stored in standard meta, not a custom table:
rla_course_layout/rla_group_layout- the single-page layout marker (currentlyudemy).rla_ccf_enable/rla_ccf_features- course features toggle and rows (icon + text).rla_gcf_enable/rla_gcf_features- group features toggle and rows._course_image_id/_group_image_id- per-item cover image._reign_linked_course(group meta) andreign_bp_group_field(course meta) - the course-to-BuddyPress-group link.

