Blog · Gutenberg

Contributor Box block for WordPress

Multi-author attribution block with avatars, bios and social links.

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

Multi-author attribution block with avatars, bios and social links.

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

Behavior controls: “Layout” options: Grid (cards), List (horizontal row), Compact (avatars only).

Where to find it

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

How to use Contributor 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 “Contributor Box”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Show Label”, “Label Text”, “Show Bios”, “Show Social Links”.
  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: Grid (cards); List (horizontal row); Compact (avatars only). block.json default: grid. Saved as `layout`.
Show LabelOn/off toggle in the inspector. On by default. Saved as `showLabel`.
Label TextText field in the inspector. block.json default: Written by. Saved as `label`.
Show BiosOn/off toggle in the inspector. On by default. Saved as `showBio`.
Show Social LinksOn/off toggle in the inspector. On by default. Saved as `showSocial`.
Avatar Size (px)Numeric range control in the inspector. Range 32–120. block.json default: 60. Saved as `avatarSize`.
Outer Border RadiusNumeric range control in the inspector. Range 0–30. block.json default: 12. 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`.
Colors — BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `bgColor`.
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`.
LabelColor control in the inspector. block.json default: #94a3b8. Saved as `labelColor`.
Avatar BG (initials)Color control in the inspector. block.json default: #e2e8f0. Saved as `avatarBg`.
Avatar Text (initials)Color control in the inspector. block.json default: #64748b. Saved as `avatarColor`.
NameColor control in the inspector. block.json default: #0f172a. Saved as `nameColor`.
Title / RoleColor control in the inspector. block.json default: #64748b. Saved as `titleColor`.
Bio TextColor control in the inspector. block.json default: #475569. Saved as `bioColor`.
Social IconsColor control in the inspector. block.json default: #94a3b8. Saved as `socialColor`.
AccentColor control in the inspector. block.json default: #2563eb. Saved as `accentColor`.
Name (Typo Name)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoName`.
RoleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoRole`.
BioShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoBio`.
Name (Contributors)Text field in the inspector. Saved as `contributors`.
Role / TitleText field in the inspector. Saved as `contributors`.
Bio (Contributors)Multiline text field in the inspector. Saved as `contributors`.
Twitter/X URLText field in the inspector. Saved as `contributors`.
LinkedIn URLText field in the inspector. Saved as `contributors`.
Website URLText field in the inspector. Saved as `contributors`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Contributor Box”. It sits under Blog. After insert, open Layout and set “Show Label”, “Label Text”, “Show Bios”, “Show Social Links”.

What makes Contributor Box different from other Blockenberg blocks?

Multi-author attribution block with avatars, bios and social links. Inspector labels on this block include “Show Label”, “Label Text”, “Show Bios”, “Show Social Links”.

Is the Contributor Box Gutenberg block free?

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

Can I style Contributor 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: Layout).

Related blog blocks

Get Blockenberg

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

Get Blockenberg