Kindergarten 2

Import the Kindergarten 2 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 Kindergarten 2 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.

Blocks this design adds

Kindergarten Events

canvas-core/k2-events

Display the academy's events as colour-topped cards, or one part of an event page (its heading, its date and place card, the other events). In the block inserter it is named Canvas Kindergarten Events.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Kindergarten Events settings in the block editor sidebar

Layout

  • LayoutDefaultEvent Cards

    Which part of the events design this block draws. Event Cards lists them; each "Single Event" choice renders one part of the event page you place it on.

    ChoicesEvent CardsSingle Event - HeadingSingle Event - Date and Place CardSingle Event - Other Events

Query

  • ItemsDefault0

    0 shows every event. The other-events row shows 3 when this is 0.

  • Event CategoryDefaultEmpty

    Slug of one event category to show only those events. Leave empty for every event.

  • Order ByDefaultMenu Order

    What decides the sequence of the cards. Menu Order lets you arrange them by hand.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Which end of that sequence comes first.

    ChoicesAscendingDescending

Display

  • Grid ClassesDefaultrow g-4

    Class names on the row holding the cards.

  • Column ClassesDefaultcol-lg-4 col-md-6

    Class names on the column around each card, which sets how many cards share a row.

  • Card Link TextDefaultEvent Details

    Wording of the link on each card to its event page. Leave empty to hide the link.

  • Label TextDefaultAcademy Event

    Shown above the event heading when the event has no category.

    Shown when Layout is "Single Event - Heading"

  • Card HeadingDefaultEvent Details

    Shown when Layout is "Single Event - Date and Place Card"

  • Booking Button TextDefaultReserve a Spot

    Leave empty to hide the button.

    Shown when Layout is "Single Event - Date and Place Card"

  • Booking Page SlugDefaultenroll

    Slug of the page the booking button opens.

    Shown when Layout is "Single Event - Date and Place Card"

Kindergarten News

canvas-core/k2-news

Display the academy news as cards, or one part of a news page (its heading, its featured image, the sidebar). In the block inserter it is named Canvas Kindergarten News.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Kindergarten News settings in the block editor sidebar

Layout

  • LayoutDefaultNews Cards

    Which part of the news design this block draws. The heading shows the post on a single post, and the category, tag or news page name on a listing.

    ChoicesNews CardsHeadingSingle Post - Featured ImageSidebar

Query

  • ItemsDefault0

    0 shows every post. The sidebar list shows 3 when this is 0.

  • Order ByDefaultDate

    ChoicesDateTitle

  • OrderDefaultDescending

    ChoicesAscendingDescending

Display

  • Grid ClassesDefaultrow g-4

    Shown when Layout is "News Cards"

  • Column ClassesDefaultcol-md-6

    Shown when Layout is "News Cards"

  • Card Link TextDefaultRead More

    Leave empty to hide the link.

    Shown when Layout is "News Cards"

  • Listing LabelDefaultACADEMY NEWS

    Pill above the heading of a news listing.

    Shown when Layout is "Heading"

  • Listing LeadDefaultStories from our classrooms, campus updates and ideas for learning at home.

    Shown under the heading of a news listing whose category or tag has no description.

    Shown when Layout is "Heading"

  • Recent News HeadingDefaultRecent News

    Shown when Layout is "Sidebar"

  • Categories HeadingDefaultCategories

    Shown when Layout is "Sidebar"

  • Visit Panel HeadingDefaultCome See Us in Person

    Leave empty to hide the visit panel.

    Shown when Layout is "Sidebar"

  • Visit Panel TextDefaultTour the classrooms, meet the teachers and see a day at the academy for yourself.

    Shown when Layout is "Sidebar"

  • Visit Button TextDefaultBook a Visit

    Shown when Layout is "Sidebar"

  • Visit Page SlugDefaultenroll

    Slug of the page the visit button opens.

    Shown when Layout is "Sidebar"

Was this page helpful?