Business · Gutenberg

Timeline block for WordPress

Display events, milestones, or steps in a beautiful timeline layout.

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

Display events, milestones, or steps in a beautiful timeline layout.

Inspector panels on this block: Layout, Connector Line, Marker, Card Style, Animation. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout Style” options: Vertical, Horizontal; “Connector Style” options: Solid, Dashed, Dotted; “Marker Style” options: Icon, Number, Dot; “Animation Type” options: Fade Up, Fade In, Slide In, Scale Up.

Where to find it

Gutenberg inserter → Business → search “Timeline” (block name `blockenberg/timeline` in block.json). Style it in the sidebar after insert.

How to use Timeline block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Timeline”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Layout Style”, “Alternating Layout”, “Item Spacing”, “Show Connector”.
  4. Check the published page. The view script reads HTML data attributes: data-animate. 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: Vertical; Horizontal. block.json default: vertical. Saved as `layoutStyle`.
Alternating LayoutOn/off toggle in the inspector. On by default. Saved as `alternating`.
Item SpacingNumeric range control in the inspector. Range 10–100. block.json default: 40. Saved as `itemSpacing`.
Show ConnectorOn/off toggle in the inspector. On by default. Saved as `showConnector`.
Connector StyleSelect control; the chosen value is saved on the block. Options: Solid; Dashed; Dotted. block.json default: solid. Saved as `connectorStyle`.
Line WidthNumeric range control in the inspector. Range 1–8. block.json default: 3. Saved as `lineWidth`.
Marker StyleSelect control; the chosen value is saved on the block. Options: Icon; Number; Dot. block.json default: icon. Saved as `markerStyle`.
Marker SizeNumeric range control in the inspector. Range 24–80. block.json default: 44. Saved as `markerSize`.
Card ShadowOn/off toggle in the inspector. On by default. Saved as `cardShadow`.
Card PaddingNumeric range control in the inspector. Range 12–48. block.json default: 24. Saved as `cardPadding`.
Border RadiusNumeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `cardBorderRadius`.
Border WidthNumeric range control in the inspector. Range 0–4. block.json default: 1. Saved as `cardBorderWidth`.
Animate on ScrollOn/off toggle in the inspector. On by default. Saved as `animateOnScroll`.
Animation TypeSelect control; the chosen value is saved on the block. Options: Fade Up; Fade In; Slide In; Scale Up. block.json default: fade-up. Saved as `animationType`.
Line ColorColor control in the inspector. block.json default: #e5e7eb. Saved as `lineColor`.
Marker BackgroundColor control in the inspector. block.json default: #3b82f6. Saved as `markerBg`.
Marker Icon ColorColor control in the inspector. block.json default: #ffffff. Saved as `markerColor`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card Border ColorColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorderColor`.
Date ColorColor control in the inspector. block.json default: #3b82f6. Saved as `dateColor`.
Title ColorColor control in the inspector. block.json default: #1f2937. Saved as `titleColor`.
Content ColorColor control in the inspector. block.json default: #6b7280. Saved as `contentColor`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Timeline”. It sits under Business. After insert, open Layout and set “Layout Style”, “Alternating Layout”, “Item Spacing”, “Show Connector”.

What makes Timeline different from other Blockenberg blocks?

Display events, milestones, or steps in a beautiful timeline layout. Inspector labels on this block include “Layout Style”, “Alternating Layout”, “Item Spacing”, “Show Connector”.

Is the Timeline Gutenberg block free?

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

Can I style Timeline 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, Connector Line, Marker, Card Style).

Related business blocks

Get Blockenberg

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

Get Blockenberg