Skip to content

Trainers

File: sections/trainers.liquid

Templates: page.people.json

Trainers

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

IDTypeLabelDefaultInfo
headingtextHeadingTrainers
header
residential_tab_labeltextResidential tab labelResidential Trainers
outreach_tab_labeltextOutreach tab labelOutreach Trainers
guest_tab_labeltextGuest tab labelGuest Trainers
header
no_match_texttextNo filter match textNo trainers match your filters.
no_residential_texttextNo residential trainers textNo residential trainers found.
no_guest_texttextNo guest trainers textNo guest trainers found.

Usage

This section is referenced in JSON templates and cannot be added via the theme editor.

{% section 'trainers' %}