Marketing · Gutenberg

Testimonials block for WordPress

Customer testimonials with avatars, ratings, and beautiful layouts.

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

Customer testimonials with avatars, ratings, and beautiful layouts.

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

Behavior controls: “Layout — Style” options: Grid, Carousel; “Columns” options: 1, 2, 3, 4; “Text Align” options: Left, Center, Right; “Arrow Style” options: Top Right, Overlay Sides, Bottom Center.

Where to find it

Gutenberg inserter → Marketing → search “Testimonials” (block name `blockenberg/testimonials` in block.json). Style it in the sidebar after insert.

How to use Testimonials block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Testimonials”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Layout — Style”, “Columns”, “Layout — Gap”, “Text Align”.
  4. Check the published page. The view script reads HTML data attributes: data-bkbg-autoscroll, data-bkbg-autoscroll-hover, data-bkbg-autoscroll-speed, data-bkbg-dot, data-bkbg-fraction, data-bkbg-infinite, data-bkbg-nav, data-ts-nav. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Layout — StyleSelect control; the chosen value is saved on the block. Options: Grid; Carousel. block.json default: grid. Saved as `layoutStyle`.
ColumnsSelect control; the chosen value is saved on the block. Options: 1; 2; 3; 4. block.json default: 3. Saved as `columns`.
Layout — GapNumeric range control in the inspector. Range 8–60. block.json default: 24. Saved as `gap`.
Text AlignSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: left. Saved as `textAlign`.
Peek Next SlideOn/off toggle in the inspector. On by default. Saved as `carouselPeek`.
Show NavigationOn/off toggle in the inspector. On by default. Saved as `carouselNav`.
Arrow StyleSelect control; the chosen value is saved on the block. Options: Top Right; Overlay Sides; Bottom Center. block.json default: top. Saved as `carouselNavStyle`.
IndicatorsSelect control; the chosen value is saved on the block. Options: None; Dots; Progress Bar; Fraction (1/6). block.json default: none. Saved as `carouselIndicators`.
Dots StyleSelect control; the chosen value is saved on the block. Options: Dots; Active Pill. block.json default: default. Saved as `carouselDotsStyle`.
Dot SizeNumeric range control in the inspector. Range 6–16. block.json default: 8. Saved as `carouselIndicatorSize`.
Progress StyleSelect control; the chosen value is saved on the block. Options: Contained; Edge-to-edge. block.json default: default. Saved as `carouselProgressStyle`.
Progress HeightNumeric range control in the inspector. Range 2–14. block.json default: 6. Saved as `carouselProgressHeight`.
Indicators PositionSelect control; the chosen value is saved on the block. Options: Below; Above. block.json default: below. Saved as `carouselIndicatorsPosition`.
Infinite LoopOn/off toggle in the inspector. On by default. Saved as `infiniteScroll`.
Auto-scroll (continuous)On/off toggle in the inspector. Runs on the live site (frontend). Please check it there. Off by default. Saved as `autoScroll`.
Auto-scroll speed (px/sec)Numeric range control in the inspector. Range 5–200. block.json default: 40. Saved as `autoScrollSpeed`.
Pause on hoverOn/off toggle in the inspector. On by default. Saved as `autoScrollPauseOnHover`.
Card — PaddingNumeric range control in the inspector. Range 8–60. block.json default: 24. Saved as `cardPadding`.
Border RadiusNumeric range control in the inspector. Range 0–40. block.json default: 16. Saved as `cardRadius`.
Border WidthNumeric range control in the inspector. Range 0–6. block.json default: 1. Saved as `cardBorderWidth`.
Card — ShadowOn/off toggle in the inspector. On by default. Saved as `cardShadow`.
Show Quote IconOn/off toggle in the inspector. On by default. Saved as `showQuoteIcon`.
Quote Icon SizeNumeric range control in the inspector. Range 12–48. block.json default: 22. Saved as `quoteIconSize`.
Show AvatarOn/off toggle in the inspector. On by default. Saved as `showAvatar`.
Avatar ShapeSelect control; the chosen value is saved on the block. Options: Circle; Rounded; Square. block.json default: circle. Saved as `avatarShape`.
Avatar SizeNumeric range control in the inspector. Range 24–120. block.json default: 44. Saved as `avatarSize`.
Show RatingOn/off toggle in the inspector. On by default. Saved as `showRating`.
Max StarsNumeric range control in the inspector. Range 3–5. block.json default: 5. Saved as `ratingStars`.
Show NameOn/off toggle in the inspector. On by default. Saved as `showName`.
Show RoleOn/off toggle in the inspector. On by default. Saved as `showRole`.
Show CompanyOn/off toggle in the inspector. On by default. Saved as `showCompany`.
Rating SizeNumeric range control in the inspector. Range 12–24. block.json default: 16. Saved as `ratingSize`.
Fraction Text SizeNumeric range control in the inspector. Range 10–18. block.json default: 13. Saved as `carouselFractionSize`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorderColor`.
Featured BorderColor control in the inspector. block.json default: #3b82f6. Saved as `featuredBorderColor`.
Quote IconColor control in the inspector. block.json default: #3b82f6. Saved as `quoteIconColor`.
QuoteColor control in the inspector. block.json default: #111827. Saved as `quoteColor`.
NameColor control in the inspector. block.json default: #111827. Saved as `nameColor`.
RoleColor control in the inspector. block.json default: #6b7280. Saved as `roleColor`.
CompanyColor control in the inspector. block.json default: #6b7280. Saved as `companyColor`.
RatingColor control in the inspector. block.json default: #f59e0b. Saved as `ratingColor`.
Carousel IndicatorColor control in the inspector. block.json default: rgba(0,0,0,0.22). Saved as `carouselIndicatorColor`.
Carousel Indicator (Active)Color control in the inspector. block.json default: rgba(0,0,0,0.65). Saved as `carouselIndicatorActiveColor`.
Carousel Progress (Track)Color control in the inspector. block.json default: rgba(0,0,0,0.12). Saved as `carouselProgressBg`.
Carousel Progress (Fill)Color control in the inspector. block.json default: rgba(0,0,0,0.55). Saved as `carouselProgressFg`.
Carousel FractionColor control in the inspector. block.json default: rgba(0,0,0,0.65). Saved as `carouselFractionColor`.
Featured TestimonialOn/off toggle in the inspector. block.json default: -1. Saved as `featuredIndex`.
RatingNumeric range control in the inspector. Range 0–5.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Testimonials”. It sits under Marketing. After insert, open Layout and set “Layout — Style”, “Columns”, “Layout — Gap”, “Text Align”.

What makes Testimonials different from other Blockenberg blocks?

Customer testimonials with avatars, ratings, and beautiful layouts. Inspector labels on this block include “Layout — Style”, “Columns”, “Layout — Gap”, “Text Align”.

Is the Testimonials Gutenberg block free?

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

Can I style Testimonials 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, Card, Elements, Selected Testimonial).

Related marketing blocks

Get Blockenberg

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

Get Blockenberg