Itinerary Timeline for Bricks
A nestable Bricks element for a day-by-day timeline, with a line and markers. The label sits beside each card in wide spaces and above it in narrow ones. The days can be typed in or pulled from a query loop.
Version: 0.1.0 · Requires: WordPress 6.0+, PHP 8.1+, Bricks · See the live demo
What it does
- A vertical line with a marker for each day, a label and a card.
- Three marker styles: dot, ring and day number.
- Two layouts: label beside the card, and cards alternating either side of a middle line.
- A compact layout for narrow spaces, chosen by the width of the space the timeline sits in, so it also works in a sidebar.
- Works with a query loop, so the days can come from posts, pages, a custom post type or ACF rows.
Installation
- Upload and activate the plugin. Bricks must be active.
- In the Bricks editor search for Itinerary Timeline (Layout group). It arrives with four sample days.
Quick start
- Edit the day label, date, title and text in each day.
- Add a day with the plus button on the element in the structure panel, or duplicate one.
- Choose a marker and layout in the settings.
Using it in a loop, including an ACF repeater
The loop can be a post, term or user query, or a repeater such as an ACF repeater or a Meta Box group. For a repeater, choose it as the loop type on the item block, then use its sub-fields in the dynamic data. The demo includes an example built from an ACF repeater.
Keep one day block and put the query loop on it. The line, markers and numbering follow the results.
- Delete all but one day.
- On the day block, switch on Query loop and choose what to list.
- Use dynamic data in the label (
11 Oct 2026), the title (Itinerary Timeline for Bricks) and the text (or a custom field).
How it is built
- The element holds days. Each day has the class
tl-dayand holds two blocks:tl-when(the label) andtl-body(the card). - The line and marker are drawn with CSS, so nothing extra is added to the markup.
- The compact layout is a CSS container query, so there is no flash on load.
Settings
Layout
- Layout — label beside the card (default), or cards alternate around a middle line
- Compact layout at (px) — in a space this wide or narrower the label sits above the card (default: 560; 0 turns it off)
- Label column width, Gap between days, Gap beside the line
Marker and line
- Marker (dot, ring or day number), size, colour and halo colour
- Line colour and thickness
- Day label and chip colour
Cards
- Background, corner radius, padding, shadow and chip background
Tips
- Give the label column a width such as
110pxif your labels are short. - Day-number markers count the days in order, including looped ones.
- For small tags inside a card, add a block with the class
tl-chipsand children with the classtl-chip.
Known limits
- Each day needs the two blocks, label first and card second, with the classes above.
- In the centred layout the cards alternate by position, so the first is on the left.