Instructor List Shortcode
Display a list of instructors (teachers) with the [masteriyo_instructors_list] shortcode — columns, IDs, order, and pagination attributes with examples.
With the instructors shortcode, you can display a customizable list of instructors anywhere on your site. This shortcode offers multiple attributes to control the display, order, and pagination of instructors.
Default Shortcode
Shortcode: [masteriyo_instructors_list]
Instructor List's Attributes
| Attribute | Description | Example |
|---|---|---|
count | The total number of instructors to display. | [masteriyo_instructors_list count="5"] |
columns | Number of columns to arrange instructors in (supports 1–4 columns). | [masteriyo_instructors_list columns="2"] |
ids | Display specific instructors using their IDs. | [masteriyo_instructors_list ids="1,5,9"] |
exclude_ids | Comma-separated list of instructor IDs to exclude. | [masteriyo_instructors_list exclude_ids="3,7"] |
order | Order direction to display instructor list: ASC (ascending) or DESC (descending). | [masteriyo_instructors_list order="ASC"] |
orderby | Sort instructors by criteria like name, date, or other fields. | [masteriyo_instructors_list orderby="name"] |
paginate | Enable pagination: "true" to turn on, "false" to turn off. | [masteriyo_instructors_list paginate="true"] |
per_page | Number of instructors displayed per page (requires paginate="true"). | [masteriyo_instructors_list per_page="5"] |
Examples
- Basic Usage
Display 6 instructors in 2 columns:
[masteriyo_instructors_list count="6" columns="2"]
- Filter by IDs
Show instructors with IDs 1, 3, 5 in 4 columns:
[masteriyo_instructors_list ids="1,3,5" columns="4"]
- Pagination
Display 20 instructors per page with pagination enabled, ordered by name (A–Z):
[masteriyo_instructors_list paginate="true" per_page="20" orderby="name" order="ASC"]
- Advanced Example
Show 15 instructors in 3 columns, exclude IDs 4, 5, 6, and enable pagination with 5 per page:
[masteriyo_instructors_list count="15" columns="3" exclude_ids="4,5,6" paginate="true" per_page="5"]
Was this article helpful to you?
Give us Rating
Last edited on July 22, 2026.
Edit this page