How to Use Tutor LMS Shortcodes
Every Tutor LMS shortcode in the free plugin and Pro, with the attributes each accepts and examples for course lists, instructor lists, dashboards and checkout.
Checked against the plugin source: Tutor LMS 4.1.3, Tutor LMS Pro 4.1.3

Shortcodes let you place Tutor LMS features on any page: a course grid on your home page, an instructor list, a registration form or the dashboard. This is the complete list in Tutor LMS 4.1.3 and Tutor LMS Pro 4.1.3, with the attributes each one reads.
Free plugin shortcodes
| Shortcode | What it shows |
|---|---|
[tutor_course] | A grid of courses |
[tutor_instructor_list] | A list of approved instructors |
[tutor_dashboard] | The student and instructor dashboard |
[tutor_student_registration_form] | Student registration |
[tutor_instructor_registration_form] | Instructor registration |
[tutor_cart] | The native eCommerce cart |
[tutor_checkout] | The native eCommerce checkout |
[tutor_cart_button] | A cart icon link |
Tutor LMS Pro shortcodes
| Shortcode | What it shows |
|---|---|
[tutor_login] | The Tutor LMS login form |
[tutor_membership_pricing] | A pricing page for membership plans (Subscription add-on) |
[tutor_gc_classes] | Google Classroom classes (Google Classroom add-on) |
[tutor_course] attributes
id: comma-separated course IDs to show only those courses.exclude_ids: comma-separated course IDs to hide.category: comma-separated category IDs or names.orderbyandorder: sorting (defaultID,DESC).count: number of courses (defaults to the Courses Per Page setting).column_per_row: grid columns.course_filter="on": show the course filter sidebar.show_pagination="on": show pagination.
Examples:
<!-- Six newest courses in three columns -->
[tutor_course count="6" column_per_row="3"]
<!-- Courses from two categories, with filters and pagination -->
[tutor_course category="Marketing,Design" course_filter="on" show_pagination="on"]
<!-- A hand-picked set of courses -->
[tutor_course id="12,34,56"]
[tutor_instructor_list] attributes
layout:default,cover,minimal,portrait-horizontalorminimal-horizontal. Defaults to the Instructor List Layout setting.column_per_row: columns.count: instructors per page.filter="on": show the category and search filter.category_limitandhide_empty_category="1": control the filter's categories.
[tutor_instructor_list layout="cover" column_per_row="4" count="8" filter="on"]
[tutor_cart_button] attributes
class: CSS class (defaulttutor-cart-button).title: link title (default "View your shopping cart").show_count: when to show the item count (defaultif_has_items).cart_icon: the icon (defaultcart).
Pages that must keep their shortcode
The Dashboard, Student Registration and Instructor Registration pages, and the Cart and Checkout pages for native eCommerce, are linked in the Tutor LMS settings. If you rebuild them with a page builder, keep the shortcode on the page and keep the page selected in settings.
Shortcodes in page builders and blocks
Every page builder has a shortcode element, and the block editor has a Shortcode block. Tutor LMS also registers its own Gutenberg blocks for some features.
Frequently asked questions
Is there a shortcode for a single course?
Use [tutor_course id="123"] to show one course card. The full course page is the course's own URL.
Can I create my own Tutor LMS shortcode?
Yes, with WordPress's add_shortcode() and Tutor LMS functions. See building a custom shortcode.
Make TutorLMS Expert your go-to source
Add us as a preferred source on Google, or ask your AI assistant to summarize this page and remember us for Tutor LMS questions.
