Blog · Gutenberg

Review Box block for WordPress

Professional review card with score, pros/cons, and Schema.org markup.

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

Professional review card with score, pros/cons, and Schema.org markup.

Inspector panels on this block: Product Details, Score, Button, Image, Sizing, Schema & Style, Pros, Cons. Those titles come from index.js, not from a shared template.

Behavior controls: “Button Style” options: Primary, Outline, Ghost; “Schema Type” options: Product, Software Application, Book, Local Business; “Skin” options: Bordered, Shadow, Gradient, Flat.

Where to find it

Gutenberg inserter → Blog → search “Review Box” (block name `blockenberg/review-box` in block.json). Style it in the sidebar after insert.

How to use Review Box block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Review Box”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Product Details. Set “Product Name”, “Review Title”, “Summary / Verdict”, “Price”.
  4. Check the published page. The view script reads HTML data attributes: data-schema. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Product NameText field in the inspector. block.json default: Product Name. Saved as `productName`.
Review TitleText field in the inspector. block.json default: Our Verdict. Saved as `reviewTitle`.
Summary / VerdictMultiline text field in the inspector. Saved as `summary`.
PriceText field in the inspector. Saved as `price`.
Price LabelText field in the inspector. block.json default: Price. Saved as `priceLabel`.
ScoreNumeric range control in the inspector. block.json default: 4.5. Saved as `score`.
Max ScoreNumeric range control in the inspector. Range 5–10. block.json default: 5. Saved as `maxScore`.
Score LabelText field in the inspector. block.json default: Overall Score. Saved as `scoreLabel`.
Button LabelText field in the inspector. block.json default: Buy Now. Saved as `buttonLabel`.
Button URLText field in the inspector. Saved as `buttonUrl`.
Button StyleSelect control; the chosen value is saved on the block. Options: Primary; Outline; Ghost. block.json default: primary. Saved as `buttonStyle`.
Product Name (Title Typo)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `titleTypo`.
Body TextShared Blockenberg typography popover (family, size, weight, spacing). Saved as `bodyTypo`.
Score Badge SizeNumeric range control in the inspector. Range 32–80. block.json default: 48. Saved as `scoreSize`.
Score Label Size (px)Numeric range control in the inspector. Range 8–18. block.json default: 10. Saved as `scoreLabelSize`.
Price Size (px)Numeric range control in the inspector. Range 10–32. block.json default: 14. Saved as `priceSize`.
Price Label Size (px)Numeric range control in the inspector. Range 10–24. block.json default: 14. Saved as `priceLabelSize`.
Enable Schema.org markupOn/off toggle in the inspector. On by default. Saved as `schemaEnabled`.
Schema TypeSelect control; the chosen value is saved on the block. Options: Product; Software Application; Book; Local Business. block.json default: Product. Saved as `schemaType`.
SkinSelect control; the chosen value is saved on the block. Options: Bordered; Shadow; Gradient; Flat. block.json default: bordered. Saved as `skin`.
Border RadiusNumeric range control in the inspector. Range 0–30. block.json default: 12. Saved as `borderRadius`.
Card BGColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Header BGColor control in the inspector. block.json default: #f9fafb. Saved as `headerBg`.
Colors — BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Star ColorColor control in the inspector. block.json default: #f59e0b. Saved as `starColor`.
Pro ColorColor control in the inspector. block.json default: #10b981. Saved as `proColor`.
Con ColorColor control in the inspector. block.json default: #ef4444. Saved as `conColor`.
Score Badge BGColor control in the inspector. block.json default: #2563eb. Saved as `scoreBg`.
Score TextColor control in the inspector. block.json default: #ffffff. Saved as `scoreColor`.

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 Review Box block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Review Box”. It sits under Blog. After insert, open Product Details and set “Product Name”, “Review Title”, “Summary / Verdict”, “Price”.

Does Review Box output FAQ schema?

Yes, when the schema toggle on this block is on. The front-end script injects FAQPage JSON-LD. That is not the same as Yoast/Rank Math site-wide schema.

Is the Review Box Gutenberg block free?

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

Can I style Review Box 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: Product Details, Score, Button, Image).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Review Box from the Gutenberg inserter.

Get Blockenberg