Skip to content

[reignlifterlmsinstructors]

Displays a grid of course instructors. An instructor is any user who is set as the author on at least one course. Each card shows the instructor’s avatar, name, social links and a link to their profile.

[reign_lifterlms_instructors]

All attributes are optional. The values below are the defaults.

Attribute Default Description
per_row 4 Number of instructor columns per row.
total false Maximum number of instructors to show. When set to a number, the list stops after that many. When left as false, all instructors are shown.
enable_slider false When true, wraps the instructor list in a slider container.
  • The instructor’s avatar (150px), linking to their course author archive.
  • The instructor’s display name.
  • A View Profile button linking to the author archive filtered to courses.
  • Social and contact links built from the user’s profile fields:
    • Email and Website are always shown when those fields are filled.
    • Google+, Twitter and Facebook are shown only when the Yoast SEO plugin is active, because those author fields come from Yoast.
    • AIM, Yahoo IM and Jabber / Google Talk are shown when those WordPress contact fields are filled.

Show all instructors, three per row:

[reign_lifterlms_instructors per_row="3"]

Show only the first six instructors:

[reign_lifterlms_instructors total="6"]

The instructor author archive that these links point to is described in Instructor archive.