Content · Gutenberg
Message Thread block for WordPress
Styled message conversation thread with chat bubbles, avatars, timestamps, and sender labels.
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.
What it actually does
Styled message conversation thread with chat bubbles, avatars, timestamps, and sender labels.
Inspector panels on this block: Settings, Messages. Those titles come from index.js, not from a shared template.
Behavior controls: “Side” options: Other (left), Self (right).
Message Thread has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.
Where to find it
Gutenberg inserter → Content → search “Message Thread” (block name `blockenberg/message-thread` in block.json). Style it in the sidebar after insert.
How to use Message Thread block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Message Thread”, insert it. Category: Content.
- Configure inspector controls that exist on this block. Open Settings. Set “Title (optional)”, “Show Title”, “Show Avatars”, “Show Sender Names”.
- Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Title (optional) | Text field in the inspector. Saved as `title`. |
| Show Title | On/off toggle in the inspector. Off by default. Saved as `showTitle`. |
| Show Avatars | On/off toggle in the inspector. On by default. Saved as `showAvatars`. |
| Show Sender Names | On/off toggle in the inspector. On by default. Saved as `showSenderNames`. |
| Show Timestamps | On/off toggle in the inspector. On by default. Saved as `showTimestamps`. |
| Bubble Radius | Numeric range control in the inspector. Range 4–28. block.json default: 18. Saved as `bubbleRadius`. |
| Max Width | Numeric range control in the inspector. Range 300–1200. block.json default: 680. Saved as `maxWidth`. |
| Colors — Background | Color control in the inspector. block.json default: #f1f5f9. Saved as `bgColor`. |
| Self Bubble | Color control in the inspector. block.json default: #6366f1. Saved as `selfBg`. |
| Self Text | Color control in the inspector. block.json default: #ffffff. Saved as `selfText`. |
| Other Bubble | Color control in the inspector. block.json default: #ffffff. Saved as `otherBg`. |
| Other Text | Color control in the inspector. block.json default: #111827. Saved as `otherText`. |
| Timestamp | Color control in the inspector. block.json default: #94a3b8. Saved as `tsColor`. |
| Colors — Title | Color control in the inspector. block.json default: #111827. Saved as `titleColor`. |
| Sender Name | Text field in the inspector. |
| Side | Select control; the chosen value is saved on the block. Options: Other (left); Self (right). |
| Time | Text field in the inspector. |
| Avatar Initial | Text field in the inspector. |
When this is the right block
- Styled message conversation thread with chat bubbles, avatars, timestamps, and sender labels — that is the job of Message Thread, not a generic content block.
- Use it when you need the editor control labeled “Title (optional)”, which exists on this block’s inspector.
- Inserter grouping: articles, cards, lists, and long-form layouts.
Notes from the implementation
Static block: markup is saved in post content; no PHP render callback in this folder.
FAQ
How do I add the Message Thread block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Message Thread”. It sits under Content. After insert, open Settings and set “Title (optional)”, “Show Title”, “Show Avatars”, “Show Sender Names”.
What makes Message Thread different from other Blockenberg blocks?
Styled message conversation thread with chat bubbles, avatars, timestamps, and sender labels. Inspector labels on this block include “Title (optional)”, “Show Title”, “Show Avatars”, “Show Sender Names”.
Is the Message Thread Gutenberg block free?
Yes. Message Thread ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Message Thread 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: Settings, Messages).
Related content blocks
Accordion
Collapsible accordion panels for FAQ, features, and more.
Accordion Table
A data table where each row expands on click to reveal rich detail content — specs, bullet points, sub-data, or notes. Perfect for pricing tiers, product specs, API docs, and comparison matrices.
Alert / Notice
Info, success, warning or error notice block with icon, title and body text. Pure CSS — zero JS.
Big Stat
Display a single large impactful statistic with prefix, suffix, label, and multiple visual styles.
Blockquote / Pull Quote
Stylish quote block with accent line or decorative marks, author name, role and photo.
Callout
Highlighted panel for tips, warnings or success messages with icon, title and dismissible option.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Message Thread from the Gutenberg inserter.