Martial Arts
Import the Martial Arts design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Martial Arts and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Content types this design adds
Disciplines
canvas_ma_discipline
One item is called a Discipline. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, page-attributes, thumbnail, title
Each item carries these extra settings on its edit screen:
Discipline Category
Discipline Highlight
Discipline Icon
Blocks this design adds
Martial Arts Disciplines
canvas-core/ma-disciplines
Display the academy disciplines as cards, or one part of a discipline page (its card, the other disciplines, its heading and lead, the booking buttons). In the block inserter it is named Canvas Martial Arts Disciplines.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultDiscipline Cards
Which part of the disciplines design this block draws. Discipline Cards lists them; each "Single Discipline" choice renders one part of the discipline page you place it on.
ChoicesDiscipline CardsSingle Discipline - Its CardSingle Discipline - Other DisciplinesSingle Discipline - Heading and LeadSingle Discipline - Buttons
Query
ItemsDefault
00 shows every discipline. The other-disciplines row shows 3 when this is 0.
Order ByDefaultMenu Order
What decides the sequence of the cards. Menu Order lets you arrange them by hand on the disciplines list screen.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
Display
Grid ClassesDefault
cf-disciplines-gridClass names on the element holding the cards, which sets the columns and the hairline between them.
Link Each CardDefaultOff
Make each discipline name a link to that discipline's own page.
Reveal AnimationDefault
fadeInUpEntrance animation each card plays as it scrolls into view. Leave empty for none.
Reveal Delays (ms)Default
0,100,200,100,200,300,0,100,200Comma-separated delay for each card in turn, so a row reveals in a ripple. 0 starts a card at once; the list repeats when there are more cards.
Second Tag Inline StyleDefault
margin-inline-start:4px;Styling on the second tag of each card, which sets the gap after the first one.
Lead Inline StyleDefault
color:var(--cf-muted); font-size:0.95rem; line-height:1.7; margin-bottom:1.5rem;Styling on the summary under the discipline name.
Primary Button TextDefault
Claim Free Trial ClassWording on the free trial button. Leave empty for no button.
Primary Button SectionDefault
trialId of the front page section the free trial button opens.
Second Button TextDefault
View Class ScheduleWording on the outline button. Leave empty for no button.
Second Button SectionDefault
scheduleId of the front page section the outline button opens.

