Trainers
File:
sections/trainers.liquidTemplates:
page.people.json

Description
Trainers
Displays trainers categorized by type (Residential, Outreach, Guest) with filters for country and language. Trainers are loaded from metaobject lists and filtered in real-time via JavaScript.
Features:
- Three trainer categories with tabbed navigation
- Country and language dropdown filters
- Real-time filtering via JavaScript
- Dynamic filter options based on selected trainer type
- Empty state message when no trainers match filters
Settings:
- heading (text) — Section heading, default “Trainers”
- residential_tab_label (text) — Residential tab text, default “Residential Trainers”
- outreach_tab_label (text) — Outreach tab text, default “Outreach Trainers”
- guest_tab_label (text) — Guest tab text, default “Guest Trainers”
- no_match_text (text) — Filter empty state message, default “No trainers match your filters.”
- no_residential_text (text) — Residential empty text, default “No residential trainers found.”
- no_guest_text (text) — Guest empty text, default “No guest trainers found.”
Blocks: None
Snippets Used:
- trainer-cards — Renders grid of trainer cards
Dependencies:
- Tailwind CSS (application.css) for layout and styling
- Inline <script> for filter functionality
- Metaobject lists: residential_trainers, outreach_trainers, outreach_trainers_2, guest_trainers
Tailwind Status: Full
Settings
| ID | Type | Label | Default | Info |
|---|---|---|---|---|
heading | text | Heading | Trainers | |
| “ | header | |||
residential_tab_label | text | Residential tab label | Residential Trainers | |
outreach_tab_label | text | Outreach tab label | Outreach Trainers | |
guest_tab_label | text | Guest tab label | Guest Trainers | |
| “ | header | |||
no_match_text | text | No filter match text | No trainers match your filters. | |
no_residential_text | text | No residential trainers text | No residential trainers found. | |
no_guest_text | text | No guest trainers text | No guest trainers found. |
Usage
This section is referenced in JSON templates and cannot be added via the theme editor.
{% section 'trainers' %}