Marketing · Gutenberg

Size Guide block for WordPress

Product or clothing sizing table with editable columns, rows, and optional highlight for recommended size.

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

Product or clothing sizing table with editable columns, rows, and optional highlight for recommended size.

Inspector panels on this block: Settings, Columns & Rows. Those titles come from index.js, not from a shared template.

Size Guide 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 “Size Guide” (block name `blockenberg/size-guide` in block.json). Style it in the sidebar after insert.

How to use Size Guide block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Size Guide”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Settings. Set “Settings — Title”, “Show Title”, “Show Note”, “Note Text”.
  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
Settings — TitleText field in the inspector. block.json default: Size Guide. Saved as `title`.
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show NoteOn/off toggle in the inspector. On by default. Saved as `showNote`.
Note TextText field in the inspector. block.json default: Measurements are in centimetres. Model is 5'10" wearing size M.. Saved as `note`.
Highlight ColumnOn/off toggle in the inspector. On by default. Saved as `showHighlight`.
Highlight Col Index (0=first)Numeric range control in the inspector. block.json default: 2. Saved as `highlightCol`.
Highlight Badge LabelText field in the inspector. block.json default: Recommended. Saved as `highlightLabel`.
Cell PaddingNumeric range control in the inspector. Range 4–28. block.json default: 12. Saved as `cellPadding`.
Border RadiusNumeric range control in the inspector. Range 0–20. block.json default: 10. Saved as `borderRadius`.
BGColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Header BGColor control in the inspector. block.json default: #111827. Saved as `headerBg`.
Header TextColor control in the inspector. block.json default: #ffffff. Saved as `headerText`.
Highlight BGColor control in the inspector. block.json default: #eef2ff. Saved as `highlightBg`.
Highlight TextColor control in the inspector. block.json default: #4338ca. Saved as `highlightText`.
Alt Row BGColor control in the inspector. block.json default: #f9fafb. Saved as `rowAltBg`.
Colors — BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Colors — TextColor control in the inspector. block.json default: #374151. Saved as `textColor`.
Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.

When this is the right block

Notes from the implementation

Static block: markup is saved in post content; no PHP render callback in this folder.

FAQ

How do I add the Size Guide block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Size Guide”. It sits under Marketing. After insert, open Settings and set “Settings — Title”, “Show Title”, “Show Note”, “Note Text”.

What makes Size Guide different from other Blockenberg blocks?

Product or clothing sizing table with editable columns, rows, and optional highlight for recommended size. Inspector labels on this block include “Settings — Title”, “Show Title”, “Show Note”, “Note Text”.

Is the Size Guide Gutenberg block free?

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

Can I style Size Guide 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: Settings, Columns & Rows).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Size Guide from the Gutenberg inserter.

Get Blockenberg