Restaurant
Import the Restaurant 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 Restaurant 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_resto_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_resto_menu_cat)
Each item carries these extra settings on its edit screen:
Item Calories
Item Carbs
Item Fat
Item Price
Item Protein
Blocks this design adds
Menu Items
canvas-core/menu-items
Display menu items (dishes, treatments, listings) from the Menu Items post type as cards, carousel slides, or tabbed category panes. In the block inserter it is named Canvas Menu Items.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultCards Grid
Which part of the menu design this block draws: a card grid, a carousel, a price list, category tabs, or one of the three single item pieces.
ChoicesCards GridCarousel ItemsPrice ListCategory TabsSingle Item MetaSingle Item - Order CTASingle Item - Back + Related
Show Description LineDefaultOn
Show each item's short description under its title on the card layouts.
Show Nutrition MacrosDefaultOn
Show the calories / protein / carbs / fat stat row for each item.
Query
Category SlugDefaultEmpty
Menu Category term slug to filter by (cards / carousel layouts). Empty = all items.
ItemsDefault
00 shows all items.
Order ByDefaultMenu Order
What to sort the menu items by.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Read the sort order forwards or backwards.
ChoicesAscendingDescending
Display
Currency SymbolDefault
$Symbol printed in front of every price.
Row ClassesDefault
row gutter-40Classes on the row wrapping the cards.
Column ClassesDefault
col-lg-3 col-md-6Classes on each column, which is where the number of cards per row is set.
Image ClassesDefaultEmpty
Empty uses the layout default (cards: "rounded", carousel: "mt-4").
More Link TextDefault
See More DetailsWording on the link from a card to the full item page.
Menu Page SlugDefault
menuSlug of the menu landing page. The single layouts resolve it to a portable permalink for the category link and the "Back to Menu" button. Empty = no menu link.
Related HeadingDefault
You may also likeHeading above the row of other menu items.
CTA Button TextDefault
Add to OrderWording on the ordering button on a single item page. Empty renders no button.
CTA Page SlugDefault
reservationSlug of the page the single-cta button links to (e.g. reservation). Resolved to a portable permalink so the link is correct on any install / import. Empty = no button.
Back Button TextDefault
Back to MenuWording on the button back to the menu. Empty renders no button.
Price List
Price Row ClassesDefault
price-menu-warpClasses on each price-list row.
Item Name ClassesDefault
price-nameClasses on each price-list item name.
Reveal Image on HoverDefaultOn
Adds the hover-reveal behaviour to each row using the item's featured image.
Link Item NamesDefaultOff
Links each price-list item name to its own page.
Settings
Tabs (Category Panes)DefaultEmpty
The category tabs, one row each, in the order they appear.
Each row of Tabs (Category Panes) takes:
Category SlugDefaultEmpty
Slug of the menu category whose items fill this tab.
Tab LabelDefaultEmpty
Wording on the tab button. A small inline image is allowed.
Pane IDDefaultEmpty
Identifier for this panel. Empty generates one.
Tab Button IDDefaultEmpty
Identifier for this tab button. Empty generates one.
Tabs
Tabs Nav ClassesDefault
nav canvas-alt-tabs2 tabs nav-pills nav-fill mb-5Classes on the row of tab buttons.
Tabs Nav IDDefaultEmpty
Identifier on the row of tab buttons, for a link or a style that targets it.
Tab Content ClassesDefault
tab-content mt-4Classes on the area holding the tab panels.
Tab Content IDDefaultEmpty
Identifier on the panel area, for a link or a style that targets it.
Active TabDefault
1Which tab opens first, counting from 1.

