Skip to content

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.

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.

  1. Open the page or post.
  2. Add a Shortcode block.
  3. Type [reign_tutor_course], and add the attributes you want from the tables below.
  4. Save the page.
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.

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.
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"]

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.

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.

Yes. layout_style="default", "card" and "minimal" follow the Course cards setting.