Wine

Import the Wine 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 Wine 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

Tastings

canvas_wine_tasting

One item is called a Tasting. You will find them in their own admin menu once the design is installed.

  • Editor features: custom-fields, editor, excerpt, page-attributes, thumbnail, title

Each item carries these extra settings on its edit screen:

  • Duration

  • Group

  • Price

  • Tasting Style

Blocks this design adds

Wine Tastings

canvas-core/wine-tastings

Display tastings from the Tastings post type as photo cards, or render a single tasting page (attributes, booking CTA, related tastings). In the block inserter it is named Canvas Wine Tastings.

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

The Wine Tastings settings in the block editor sidebar

Layout

  • LayoutDefaultCards Grid

    Which part of the tastings design this block draws. Cards Grid lists them all; each "Single Tasting" choice renders one section of the tasting page you place it on.

    ChoicesCards GridSingle Tasting - AttributesSingle Tasting - Booking CTASingle Tasting - Back + Related

Query

  • ItemsDefault0

    0 shows every tasting.

  • Order ByDefaultMenu Order

    What decides the sequence of the tastings. Menu Order lets you arrange them by hand on the tastings list screen.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Which end of that sequence comes first.

    ChoicesAscendingDescending

Display

  • Row ClassesDefaultrow col-mb-50 g-5

    Class names on the row holding the cards, setting the space between them.

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

    Class names on each card column, which is what sets how many tastings sit side by side at each screen width.

  • Card Image SizeDefaultMedium Large

    Which stored image size the card photograph is served at.

    ChoicesMediumMedium LargeLargeFull

  • Card Button TextDefaultView Tasting

    Wording on the button at the foot of each card. Leave empty for no button.

  • Card Button ClassesDefaultbutton button-3d-border h-bg-color fw-semibold button-large mt-4 ms-0

    Class names that set the look of that button, from its colour to its casing and padding.

  • Tastings Page SlugDefaulttastings

    Slug of the tastings landing page. The single layouts resolve it to a portable permalink for the style eyebrow and the "Back to Tastings" button. Empty = no link.

  • Booking Page SlugDefaultwine-shop

    Slug of the page the single-cta button links to. Resolved to a portable permalink so the link is correct on any install or import. Empty = no button.

  • CTA Button TextDefaultReserve This Tasting

    Wording on the booking button. Leave empty for no button.

  • CTA Button ClassesDefaultbutton button-3d-border h-bg-color fw-semibold button-xlarge mt-4 ms-0

    Class names on the booking button.

  • Back Button TextDefaultBack to Tastings

    Wording on the button returning the reader to the tastings listing. Leave empty for no button.

  • Back Button ClassesDefaultbutton button-3d-border h-bg-color fw-semibold button-large ms-0 mb-5

    Class names on that button.

  • Related HeadingDefaultMore Tastings

    Title above the row of other tastings. Leave empty to show the row with no title.

Was this page helpful?