Horizontal Timeline (Gutenberg)

Tell your history or a process as a timeline across the page.

A timeline across the page as a carousel or free-scrolling strip: events hold any blocks, the line fills to the current milestone, with a progress bar, arrows, dots, drag, wheel and keys.

Gutenberg block

Requirements

  • The block editor (Gutenberg)
  • WordPress 6.5 or newer
  • PHP 7.4 or newer
  • Licence: Pro ($2 / year) — add it to the cart in Moduly

Add it to a page

  1. Open the page or post in the block editor.
  2. Click + (Block Inserter) and search for Horizontal Timeline (Gutenberg) — it is in the Moduly category.
  3. Insert it, then fill in its content on the canvas. Ready-made presets appear when you insert it, and later under Transform to in the block toolbar.
  4. Adjust it in the right sidebar: the Block tab holds the settings below, and the Styles tab its colours, typography and spacing.
  5. Add or reorder items with the + inside the block; each item (Timeline Event) has its own settings when selected.

Settings

Timeline

SettingWhat you can set
Cardsbelow, above or alternate
Markersicon, number or dot
Current event (0 for none)Number
Pulse on the current eventOn / off
Linesolid, dashed, dotted or gradient
Datestext or pill
Notch pointing at the markerOn / off
Cards of equal heightOn / off
Reveal cards when scrolled toOn / off
Lift cards on hoverOn / off
DotsOn / off
LineColour
MarkersColour
CardsColour
DatesColour

Moving through it

SettingWhat you can set
Movementsnap or free
Events in view1–8
Events in view on tablets1–6
Events in view on phones1–4
Space between events (px)0–120
Start atfirst, current or last
At the endstop, rewind or loop
AutoplayOn / off
Time per event (ms)1000–15000
Pause on hoverOn / off
Animation speed (ms)100–3000
ArrowsOn / off
Arrows sitline, top or below
Progress barOn / off
Drag and swipeOn / off
Arrow keys when focusedOn / off
Mouse wheel and trackpadOn / off
Name for screen readersText
ArrowsColour

Sizes

SettingWhat you can set
Marker size (px)12–96
Line width (px)1–10
Done, current and progressColour
Line gradient endColour
Marker iconsText
Arrow backgroundColour
Active dotColour
Card headingsColour
Card textColour

Timeline Event (item) settings

Event

SettingWhat you can set
Marker iconText
BadgeText
Or text in the markerText
MarkerColour
Marker iconColour
CardColour
DateColour

Styles tab: typography and spacing, from WordPress's own design tools.

Tips

  • Visitors who ask their device for reduced motion get a calmer, still version automatically.
  • Not sure where to start? Insert one of its presets and edit from there.

Troubleshooting

  • If “Start at the current event” lands past the last full view, Splide starts at the last full view instead (the next arrow is then disabled).
  • In the editor, the strip doesn't run as a carousel; arrows, dots and the progress bar show only on the front end.
  • Pre-existing elementorFrontendConfig is not defined front-end error for logged-in users (Elementor).
  • A change not showing on the live site is almost always a page cache — clear your caching plugin or host cache.
  • Works well with: Advanced Accordion, Card, Content Switcher.