Blog · Gutenberg

Product Roundup block for WordPress

Ranked multi-product review section with ratings, pros/cons and CTAs.

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

Ranked multi-product review section with ratings, pros/cons and CTAs.

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

Behavior controls: “Layout” options: List (vertical), Grid (2 columns).

Where to find it

Gutenberg inserter → Blog → search “Product Roundup” (block name `blockenberg/product-roundup` in block.json). Style it in the sidebar after insert.

How to use Product Roundup block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Product Roundup”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Layout & Display. Set “Show Subtitle”, “Show Rank Badge”, “Show Product Image”, “Show Star Rating”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
LayoutSelect control; the chosen value is saved on the block. Options: List (vertical); Grid (2 columns). block.json default: list. Saved as `layout`.
Show SubtitleOn/off toggle in the inspector. On by default. Saved as `showSubtitle`.
Show Rank BadgeOn/off toggle in the inspector. On by default. Saved as `showRank`.
Show Product ImageOn/off toggle in the inspector. On by default. Saved as `showImage`.
Show Star RatingOn/off toggle in the inspector. On by default. Saved as `showRating`.
Show ProsOn/off toggle in the inspector. On by default. Saved as `showPros`.
Show ConsOn/off toggle in the inspector. On by default. Saved as `showCons`.
Show PriceOn/off toggle in the inspector. On by default. Saved as `showPrice`.
Open Links in New TabOn/off toggle in the inspector. On by default. Saved as `openInNewTab`.
Border RadiusNumeric range control in the inspector. Range 0–30. block.json default: 10. Saved as `borderRadius`.
Card RadiusNumeric range control in the inspector. Range 0–20. block.json default: 8. Saved as `cardRadius`.
Padding TopNumeric range control in the inspector. Range 0–100. block.json default: 0. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–100. block.json default: 0. Saved as `paddingBottom`.
Section TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `titleTypo`.
SubtitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `subtitleTypo`.
Product NameShared Blockenberg typography popover (family, size, weight, spacing). Saved as `nameTypo`.
SummaryShared Blockenberg typography popover (family, size, weight, spacing). Saved as `summaryTypo`.
Section BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Section BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`.
HeadingColor control in the inspector. block.json default: #0f172a. Saved as `headingColor`.
SubtitleColor control in the inspector. block.json default: #64748b. Saved as `subtitleColor`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `cardBorder`.
Rank Badge BGColor control in the inspector. block.json default: #0f172a. Saved as `rankBg`.
Rank Badge TextColor control in the inspector. block.json default: #ffffff. Saved as `rankColor`.
Pick Badge BGColor control in the inspector. block.json default: #f59e0b. Saved as `badgeBg`.
Pick Badge TextColor control in the inspector. block.json default: #ffffff. Saved as `badgeColor`.
Product NameColor control in the inspector. block.json default: #0f172a. Saved as `nameColor`.
Rating StarsColor control in the inspector. block.json default: #f59e0b. Saved as `ratingColor`.
Summary TextColor control in the inspector. block.json default: #475569. Saved as `summaryColor`.
Pros ColorColor control in the inspector. block.json default: #16a34a. Saved as `prosColor`.
Cons ColorColor control in the inspector. block.json default: #dc2626. Saved as `consColor`.
PriceColor control in the inspector. block.json default: #0f172a. Saved as `priceColor`.
CTA Button BGColor control in the inspector. block.json default: #0f172a. Saved as `ctaBg`.
CTA Button TextColor control in the inspector. block.json default: #ffffff. Saved as `ctaColor`.
BadgeOn/off toggle in the inspector. Saved as `products`.
RatingNumeric range control in the inspector. Range 0–5. Saved as `products`.

What the front-end script actually does

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 Product Roundup block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Product Roundup”. It sits under Blog. After insert, open Layout & Display and set “Show Subtitle”, “Show Rank Badge”, “Show Product Image”, “Show Star Rating”.

What makes Product Roundup different from other Blockenberg blocks?

Ranked multi-product review section with ratings, pros/cons and CTAs. Inspector labels on this block include “Show Subtitle”, “Show Rank Badge”, “Show Product Image”, “Show Star Rating”.

Is the Product Roundup Gutenberg block free?

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

Can I style Product Roundup 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).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Product Roundup from the Gutenberg inserter.

Get Blockenberg