Skip to content

Course Display

The [reign_tutor_course] shortcode is an enhanced wrapper around Tutor LMS’s native [tutor_course] shortcode. It passes standard parameters straight through to Tutor LMS and adds Reign-specific display controls on top.

For the full parameter reference, see reign_tutor_course.

Used with standard parameters, the shortcode behaves like [tutor_course] with Reign styling. It supports the same id, exclude_ids, category, orderby, order, count, column_per_row, show_pagination, and course_filter parameters, which are forwarded to Tutor LMS unchanged.

The layout_style attribute adds a layout-<value> class to the wrapper, which selects a layout from the bundled CSS. The list and grid values have dedicated layout rules: list stacks courses in a single column with the thumbnail beside the details, and grid arranges them in a wrapping flex grid. Other values such as default, card, and minimal are accepted and rendered with the default styling.

You can hide individual pieces of the course card without editing templates. Each control accepts yes or no:

  • show_instructor - the instructor author area.
  • show_category - the course category text.
  • show_duration - the duration meta.
  • show_students - the enrolled students count.
  • show_lessons - the lesson count.

Setting one of these to no adds a hide-* class that the CSS uses to hide that element. Category and instructor hiding also uses a small inline script to trim the combined meta line where Tutor LMS renders instructor and category together.

If you do not set column_per_row (or columns), the addon picks a sensible default based on where the shortcode runs:

  • Three columns in a normal page.
  • Two columns on a profile context: a BuddyPress or BuddyBoss member page, a PeepSo profile, or a WordPress author archive.

You can change this default with the reign_tutorlms_default_columns filter. See Hooks and filters.