Course list shortcode ([reigntutorcourse])
Reign Tutor LMS Addon overviewPremiumGet Reign Tutor LMS Addon →
Also called: course grid shortcode, course list shortcode, tutor_course shortcode, my courses, enrolled courses list, course cards on a page.
What this does
Section titled “What this does”This is Tutor LMS’s [tutor_course] shortcode with two extras: Reign card styles and a member’s own courses. Tutor LMS still supplies the courses, their order, the price, the cart and the filter bar. Every Tutor attribute goes to Tutor as it is.
- Open the page or post.
- Add a Shortcode block.
- Type
[reign_tutor_course], and add the attributes you want from the tables below. - Save the page.
Tutor LMS attributes
Section titled “Tutor LMS attributes”| Attribute | Example | What it does |
|---|---|---|
id |
id="12,15" |
Only these courses. |
exclude_ids |
exclude_ids="9" |
Leave these courses out. |
category |
category="design" |
Category slugs or IDs, comma separated. |
orderby |
orderby="title" |
ID, title, date, menu_order or rand. |
order |
order="ASC" |
ASC or DESC. |
count |
count="6" |
Courses per page. |
column_per_row |
column_per_row="3" |
Columns. columns works too. |
course_filter |
course_filter="on" |
Tutor’s filter bar. |
show_pagination |
show_pagination="off" |
Paging links. On by default. |
Card attributes
Section titled “Card attributes”Left out, each one follows Reign Settings > Integrations, then Configure on the Tutor LMS tile, then the Course card cards**.
| Attribute | Values | What it does |
|---|---|---|
layout_style |
classic, soft, list |
Card style for this list. |
show_instructor |
yes, no |
Instructor on the card. |
show_category |
yes, no |
Category on the card. |
show_duration |
yes, no |
Duration on the card. |
show_students |
no |
Hides the enrolled student count. |
show_progress |
yes, no |
Progress for enrolled members. |
A member’s own courses
Section titled “A member’s own courses”| Attribute | Values | What it does |
|---|---|---|
my_courses |
yes |
List a member’s enrolled courses, newest enrolment first, with a course count above. |
user_id |
an ID or current |
Whose courses. Left out: the profile owner on a BuddyPress, BuddyBoss or PeepSo profile, otherwise the visitor. |
course_status |
all, in_progress, completed, not_started |
Filter by progress. in-progress and not-started work too. |
Examples:
[reign_tutor_course category="design" count="6" layout_style="soft"][reign_tutor_course show_instructor="no" show_category="no" show_duration="no" show_students="no"][reign_tutor_course my_courses="yes" course_status="completed" layout_style="list"][reign_tutor_course my_courses="yes" user_id="12"]You’ll know it worked when
Section titled “You’ll know it worked when”The page shows course cards in the style you chose. With my_courses="yes", it shows the member’s courses and a course count above them.
Good to know
Section titled “Good to know”Why does another member’s list print nothing?
Section titled “Why does another member’s list print nothing?”Another member’s list shows only to site administrators, or when Tutor LMS > Settings > Design > Student Public Profile Layout is not Private. Tutor’s default is Private, so the shortcode prints nothing. See Notices and messages.
Why is my started course listed as not started?
Section titled “Why is my started course listed as not started?”A course counts as started once the member finishes a lesson. A course started only with a quiz or an assignment counts as not started.
Do my shortcodes from 2.2.0 still work?
Section titled “Do my shortcodes from 2.2.0 still work?”Yes. layout_style="default", "card" and "minimal" follow the Course cards setting.

