Marketing · Gutenberg

Price List block for WordPress

Display restaurant menus, service pricing, or product catalogues with category sections, images, badges and rich styling.

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.

Get Blockenberg

What it actually does

Display restaurant menus, service pricing, or product catalogues with category sections, images, badges and rich styling.

Inspector panels on this block: Layout. Those titles come from index.js, not from a shared template.

Behavior controls: “List style” options: Vertical list, Two-column grid, Horizontal card.

Price List has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Marketing → search “Price List” (block name `blockenberg/price-list` in block.json). Style it in the sidebar after insert.

How to use Price List block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Price List”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Layout. Set “List style”, “Columns”, “Section spacing (px)”, “Item spacing (px)”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
List styleSelect control; the chosen value is saved on the block. Options: Vertical list; Two-column grid; Horizontal card. block.json default: list. Saved as `layout`.
ColumnsNumeric range control in the inspector. Range 2–4. block.json default: 2. Saved as `columns`.
Section spacing (px)Numeric range control in the inspector. Range 16–80. block.json default: 40. Saved as `sectionSpacing`.
Item spacing (px)Numeric range control in the inspector. Range 8–48. block.json default: 16. Saved as `itemSpacing`.
Show dividers between itemsOn/off toggle in the inspector. On by default. Saved as `dividerEnabled`.
Show badgesOn/off toggle in the inspector. On by default. Saved as `showBadge`.
Show imagesOn/off toggle in the inspector. Off by default. Saved as `showImage`.
Image size (px)Numeric range control in the inspector. Range 40–200. block.json default: 72. Saved as `imageSize`.
Image radius (px)Numeric range control in the inspector. Range 0–50. block.json default: 8. Saved as `imageRadius`.
Section TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `sectionTypo`.
Item NameShared Blockenberg typography popover (family, size, weight, spacing). Saved as `nameTypo`.
DescriptionShared Blockenberg typography popover (family, size, weight, spacing). Saved as `descTypo`.
PriceShared Blockenberg typography popover (family, size, weight, spacing). Saved as `priceTypo`.
Colors — BackgroundColor control in the inspector. Saved as `bgColor`.
Section titleColor control in the inspector. block.json default: #111827. Saved as `sectionColor`.
Item nameColor control in the inspector. block.json default: #111827. Saved as `nameColor`.
DescriptionColor control in the inspector. block.json default: #6b7280. Saved as `descColor`.
PriceColor control in the inspector. block.json default: #2563eb. Saved as `priceColor`.
DividerColor control in the inspector. block.json default: #f3f4f6. Saved as `dividerColor`.
Badge backgroundColor control in the inspector. block.json default: #fef3c7. Saved as `badgeBg`.
Badge textColor control in the inspector. block.json default: #92400e. Saved as `badgeColor`.
Section TitleText field in the inspector.
NameText field in the inspector.
DescriptionText field in the inspector.
PriceText field in the inspector.
BadgeText field in the inspector.

When this is the right block

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 Price List block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Price List”. It sits under Marketing. After insert, open Layout and set “List style”, “Columns”, “Section spacing (px)”, “Item spacing (px)”.

Where do Price List 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 Price List Gutenberg block free?

Yes. Price List ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Price List 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).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Price List from the Gutenberg inserter.

Get Blockenberg