Business · Gutenberg
Restaurant Menu block for WordPress
A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges.
Inspector panels on this block: Layout, Display, Categories & Items. Those titles come from index.js, not from a shared template.
Behavior controls: “Display style” options: Category tabs, Sections (scroll); “Item style” options: List, Cards; “Currency position” options: Before price ($9), After price (9$); “Item separator” options: Line, Dots, None.
Where to find it
Gutenberg inserter → Business → search “Restaurant Menu” (block name `blockenberg/restaurant-menu` in block.json). Style it in the sidebar after insert.
How to use Restaurant Menu block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Restaurant Menu”, insert it. Category: Business.
- Configure inspector controls that exist on this block. Open Layout. Set “Display style”, “Item style”, “Currency position”, “Currency symbol”.
- Check the published page. Keyboard handlers move focus between items. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Display style | Select control; the chosen value is saved on the block. Options: Category tabs; Sections (scroll). block.json default: tabs. Saved as `layout`. |
| Item style | Select control; the chosen value is saved on the block. Options: List; Cards. block.json default: list. Saved as `itemStyle`. |
| Currency position | Select control; the chosen value is saved on the block. Options: Before price ($9); After price (9$). block.json default: before. Saved as `currencyPosition`. |
| Currency symbol | Text field in the inspector. block.json default: $. Saved as `currency`. |
| Item separator | Select control; the chosen value is saved on the block. Options: Line; Dots; None. block.json default: line. Saved as `separator`. |
| Card columns | Numeric range control in the inspector. Range 1–3. block.json default: 1. Saved as `columns`. |
| Card radius (px) | Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `cardRadius`. |
| Card padding (px) | Numeric range control in the inspector. Range 8–40. block.json default: 18. Saved as `cardPadding`. |
| Badge radius (px) | Numeric range control in the inspector. Range 0–12. block.json default: 4. Saved as `badgeRadius`. |
| Show category icons | On/off toggle in the inspector. On by default. Saved as `showCategoryIcon`. |
| Show descriptions | On/off toggle in the inspector. On by default. Saved as `showDescription`. |
| Show dietary badges | On/off toggle in the inspector. On by default. Saved as `showBadges`. |
| Category Name | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `catNameTypo`. |
| Item Name | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `itemNameTypo`. |
| Description | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `descTypo`. |
| Price | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `priceTypo`. |
| Badge (px) | Numeric range control in the inspector. Range 9–14. block.json default: 11. Saved as `badgeSize`. |
| Padding top (px) | Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingTop`. |
| Padding bottom (px) | Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingBottom`. |
| Category name | Text field in the inspector. |
| Name | Text field in the inspector. |
| Description | Multiline text field in the inspector. |
| Price | Text field in the inspector. |
What the front-end script actually does
- Keyboard handlers move focus between items.
When this is the right block
- A beautifully organized restaurant or café menu with category tabs, item names, descriptions, prices, and dietary badges — that is the job of Restaurant Menu, not a generic content block.
- Use it when you need the editor control labeled “Display style”, which exists on this block’s inspector.
- It matches pages about menu, restaurant, food.
- Inserter grouping: company, service, and operations pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Restaurant Menu block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Restaurant Menu”. It sits under Business. After insert, open Layout and set “Display style”, “Item style”, “Currency position”, “Currency symbol”.
Where do Restaurant Menu submissions go?
The published page calls this block’s Blockenberg REST route (see front-end notes). The editor canvas does not send mail unless you preview on the front end.
Is the Restaurant Menu Gutenberg block free?
Yes. Restaurant Menu ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Restaurant Menu to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Layout, Display, Categories & Items).
Related business blocks
About Section
Ready-made About Us section with split image/video + text layout, optional company stats row, badge label, CTA buttons, and full background/color controls.
Address Card
Business address card with contact details, opening hours, and optional map link.
App Screenshot
SaaS/app product screenshot section with annotated callout points, device frame, heading, subtext, and CTA. Perfect for software landing pages.
Author Box
Display a blog author profile card with avatar, name, bio, role and social media links.
Author Profile
Extended author bio card with avatar, name, role, bio, stats, and social links.
Avatar Group
Overlapping stack of user or team avatars with an optional +X counter bubble.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Restaurant Menu from the Gutenberg inserter.