Cafe
Import the Cafe 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 Cafe 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
Menu Items
canvas_cafe_menu
One item is called a Menu Item. You will find them in their own admin menu once the design is installed.
- Editor features: custom-fields, editor, excerpt, page-attributes, thumbnail, title
- Grouped by: Menu Categories (
canvas_cafe_menu_cat)
Each item carries these extra settings on its edit screen:
Dietary
Origin
Menu Price
Served
Blocks this design adds
Cafe Menu
canvas-core/cafe-menu
Display dishes and drinks from the Cafe Menu post type as printed-menu lines or photo cards, or render a single dish page (price, attributes, CTA, related dishes). In the block inserter it is named Canvas Cafe Menu.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultMenu Lines
Which part of the design this block draws: printed menu lines, a grid of photo cards, or one of the three pieces that build a single dish page. The single pieces render nothing anywhere else.
ChoicesMenu LinesPhoto CardsSingle Dish - Price & DetailsSingle Dish - CTASingle Dish - Back + Related
Query
Menu CategoryDefaultEmpty
Category slug to show (one block per menu section). Empty shows every dish.
ItemsDefault
00 shows all dishes in the category.
Order ByDefaultMenu Order
What decides the sequence dishes appear in: the order you arranged them in, when each was published, or the dish name.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Whether that sequence runs forwards or backwards. With Order By set to Title, Descending lists from Z to A.
ChoicesAscendingDescending
Display
ColumnsDefault3 Columns
How many photo cards sit side by side on a wide screen. Narrower screens step down on their own, and the menu lines layout ignores it.
Choices2 Columns3 Columns4 Columns
Link Menu LinesDefaultOff
Link each menu line to its dish page.
Shown when Layout is "Menu Lines"
Cards Wrapper ClassesDefault
cafe-menu-grid rowClasses on the photo-cards grid wrapper.
Menu Page SlugDefault
menuSlug of the full menu page. The single layouts resolve it to a portable permalink for the category eyebrow and the "Back to Menu" button. Empty = no link.
CTA Page SlugDefaultEmpty
Slug of the page the CTA button links to. Resolved to a portable permalink so the link is correct on any install / import. Empty = no button.
CTA AnchorDefaultEmpty
Optional in-page anchor appended to the CTA link, e.g. #section-contact.
CTA Button TextDefault
Reserve a TableWording on the booking button at the foot of a dish page. Leave it empty and no button appears.
Back Button TextDefault
Back to MenuWording on the button that returns a visitor from a dish page to the full menu. Leave it empty and no button appears.
Related HeadingDefault
You may also likeHeading above the row of other dishes at the foot of a dish page. Leave it empty to show them with no heading.

