Marketing · Gutenberg

Split Testimonial block for WordPress

Hero-size featured testimonial with large pull-quote, author photo, name, title, company, star rating, and full accent/background controls.

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

Hero-size featured testimonial with large pull-quote, author photo, name, title, company, star rating, and full accent/background controls.

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

Behavior controls: “Photo Shape” options: Circle, Rounded, Square; “Layout” options: Photo Left, Photo Right.

Where to find it

Gutenberg inserter → Marketing → search “Split Testimonial” (block name `blockenberg/split-testimonial` in block.json). Style it in the sidebar after insert.

How to use Split Testimonial block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Split Testimonial”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Author. Set “Name”, “Author — Title”, “Show Company”, “Company”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
NameText field in the inspector. block.json default: Sarah Mitchell. Saved as `authorName`.
Author — TitleText field in the inspector. block.json default: VP of Operations. Saved as `authorTitle`.
Show CompanyOn/off toggle in the inspector. On by default. Saved as `showCompany`.
CompanyText field in the inspector. block.json default: Acme Corp. Saved as `authorCompany`.
Show StarsOn/off toggle in the inspector. On by default. Saved as `showStars`.
Star RatingNumeric range control in the inspector. Range 1–5. block.json default: 5. Saved as `stars`.
Photo ShapeSelect control; the chosen value is saved on the block. Options: Circle; Rounded; Square. block.json default: circle. Saved as `avatarShape`.
Photo Size (px)Numeric range control in the inspector. Range 60–300. block.json default: 120. Saved as `avatarSize`.
LayoutSelect control; the chosen value is saved on the block. Options: Photo Left; Photo Right. block.json default: left-photo. Saved as `layout`.
Show Quote MarkOn/off toggle in the inspector. On by default. Saved as `showQuoteMark`.
Author Size (px)Numeric range control in the inspector. Range 12–24. block.json default: 16. Saved as `authorSize`.
Max Width (px)Numeric range control in the inspector. Range 500–1400. block.json default: 1100. Saved as `maxWidth`.
Padding Top (px)Numeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `paddingBottom`.
Colors — BackgroundColor control in the inspector. block.json default: #1e1b4b. Saved as `bgColor`.
Photo Accent BGColor control in the inspector. block.json default: #7c3aed. Saved as `accentBg`.
Quote TextColor control in the inspector. block.json default: #ffffff. Saved as `quoteColor`.
Author TextColor control in the inspector. block.json default: #c4b5fd. Saved as `authorColor`.
StarsColor control in the inspector. block.json default: #fbbf24. Saved as `starColor`.
Quote MarkColor control in the inspector. block.json default: rgba(124,58,237,.45). Saved as `quoteMarkColor`.

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 Split Testimonial block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Split Testimonial”. It sits under Marketing. After insert, open Author and set “Name”, “Author — Title”, “Show Company”, “Company”.

What makes Split Testimonial different from other Blockenberg blocks?

Hero-size featured testimonial with large pull-quote, author photo, name, title, company, star rating, and full accent/background controls. Inspector labels on this block include “Name”, “Author — Title”, “Show Company”, “Company”.

Is the Split Testimonial Gutenberg block free?

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

Can I style Split Testimonial 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: Author, Photo, Sizing).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Split Testimonial from the Gutenberg inserter.

Get Blockenberg