GazetteBuilder can generate chronological views from Entries that contain a Timeline Sort value.
Timelines are inserted into normal WordPress content using the:
[gazette_timeline]
shortcode.
The shortcode can display all eligible timeline Entries or narrow the results by Entry Type and date range. Timelines may be presented horizontally or vertically and can optionally include each Entry’s Summary.
Preparing an Entry for the Timeline
Timeline information is entered in the Entry Details section when editing an Entry.
Two Entry fields are relevant:
Campaign Date
The reader-facing date or description displayed for the Entry.
Timeline Sort
The sortable date and time GazetteBuilder uses to determine where the Entry belongs chronologically.
These fields serve different purposes.
For example:
Campaign Date:Friday, 11 January 1889, shortly after noon
Timeline Sort:1889-01-11 12:15
The Campaign Date can use natural wording appropriate to the setting. Timeline Sort provides the structured value GazetteBuilder needs to put the Entry in chronological order.
GazetteBuilder does not need to interpret the Campaign Date in order to determine chronology.
Basic Timeline
Add the shortcode to a WordPress page, post, or other location where WordPress processes shortcodes:
[gazette_timeline]
This produces a timeline from eligible GazetteBuilder Entries.
Each timeline item provides access to its full Entry.
Filtering by Entry Type
Use types to limit the timeline to particular Entry Types.
For example:
[gazette_timeline types="location,event"]
This timeline contains eligible Entries whose Entry Types are Location or Event.
Multiple Entry Types are separated by commas.
A timeline can therefore be tailored to its purpose. One page might contain only Events while another combines Events, Documents, and Locations.
Limiting the Date Range
Use min and max to restrict the chronological period shown.
For example:
[gazette_timeline min="1889-01-01" max="1889-06-30"]
This limits the timeline to qualifying Entries between those dates.
The two values may also be used together with Entry Type filtering:
[gazette_timeline types="location,event" min="1889-01-01" max="1889-06-30"]
This displays only Location and Event Entries within the specified period.
Horizontal Timeline
Use:
[gazette_timeline orientation="horizontal"]
to present the timeline horizontally.
This is useful when chronological movement from left to right suits the page design.
On narrower displays, a horizontal timeline may require horizontal movement to view additional timeline items.
Vertical Timeline
Use:
[gazette_timeline orientation="vertical"]
to present the same information vertically.
Entries progress from top to bottom in chronological order.
A vertical presentation is often useful for longer timelines or pages where horizontal space is limited.
Showing Entry Summaries
Use:
[gazette_timeline summary="yes"]
to include the GazetteBuilder Summary associated with each qualifying Entry.
This gives readers additional context without requiring them to open every Entry.
For example, a timeline item might effectively contain:
11 January 1889
Harcourt Survey Preparations
Event
Final arrangements are made before the survey work begins.
The title links to the complete Entry.
Entries without a Summary can still participate in the timeline; they simply do not have summary text to display.
Combining Options
Timeline options can be combined in a single shortcode.
For example:
[gazette_timeline types="location,event" min="1889-01-01" max="1889-06-30" orientation="horizontal" summary="yes"]
This requests:
- Location and Event Entries;
- between 1 January and 30 June 1889;
- displayed horizontally;
- with Entry summaries.
Shortcode Reference
The current timeline options are:
| Parameter | Purpose | Example |
|---|---|---|
types | Limit results to one or more Entry Types | types="location,event" |
min | Earliest Timeline Sort date to include | min="1889-01-01" |
max | Latest Timeline Sort date to include | max="1889-06-30" |
orientation | Select horizontal or vertical presentation | orientation="horizontal" |
summary | Include Entry summaries | summary="yes" |
A shortcode with no options remains valid:
[gazette_timeline]
Entry Type Names
The types parameter uses the Entry Type identifiers recognized by GazetteBuilder.
For example:
types="location,event"
corresponds to the Location and Event Entry Types.
When creating timelines for custom Entry Types, use the corresponding identifier for the Entry Type configured in GazetteBuilder.
Date Filtering Uses Timeline Sort
The min and max parameters filter against the structured Timeline Sort value, not the reader-facing Campaign Date.
This distinction allows Campaign Date to remain flexible.
An Entry could display:
Campaign Date:Early January 1889
while carrying a structured Timeline Sort value used for its chronological placement.
The timeline relies on Timeline Sort for ordering and range filtering.
Publication and Release Eligibility
Timeline membership does not override GazetteBuilder’s normal release rules.
An Entry may have a Timeline Sort value that places it within the requested period but still be unavailable because of its publication or Release Date state.
For example:
Timeline Sort: 1889-01-15
Release Date: future
does not cause the timeline to expose that Entry early.
Once the Entry becomes release-eligible, it can appear automatically in qualifying timeline views.
This means a timeline can be placed on a page once and left in place as the Gazette develops.
Campaign Chronology and Release Chronology Are Separate
Timeline Sort describes when something belongs in the world chronology.
Release Date describes when readers are allowed to see the Entry.
They do not need to match.
For example:
Campaign Date:10 January 1889
Timeline Sort:1889-01-10 09:00
Release Date:09/01/2026 08:00
The Entry belongs on 10 January 1889 in the fictional chronology but does not become eligible for readers until its 2026 release.
After release, it appears in the correct 1889 position rather than at the end of the timeline.
Stories and Timelines
Story Sequence Position and Timeline Sort are also independent.
A Story may intentionally present Entries in an order that differs from their chronology.
For example:
Sequence 1 — 11 January 1889
Sequence 2 — 12 January 1889
Sequence 3 — Flashback to 1875
Sequence 4 — 13 January 1889
The Story still presents positions 1 through 4 in authored order.
A timeline instead places the same qualifying Entries according to their Timeline Sort values.
This allows a single Entry to participate correctly in both a narrative sequence and a chronological reference view.
Building Different Timelines From the Same Entries
Because the timeline is generated dynamically, the same underlying Entries can support multiple chronological views.
For example, a Gazette might contain:
[gazette_timeline]
for a broad setting history,
[gazette_timeline types="event"]
for an Event chronology,
and:
[gazette_timeline types="document,event" min="1889-01-01" max="1889-01-31" orientation="vertical" summary="yes"]
for a detailed January 1889 historical page.
The Entries do not need to be copied or entered separately for each timeline.
Updating a Timeline
There is no separate timeline record to maintain.
Gazette Builder generates the timeline from qualifying Entries whenever the shortcode is displayed.
To change the timeline’s contents, change the Entries or the shortcode criteria:
- add a Timeline Sort value to an Entry;
- change an Entry’s Timeline Sort value;
- change its Entry Type;
- publish or release the Entry;
- change the
types,min, ormaxfilters in the shortcode.
The corresponding timeline then reflects the eligible Entries automatically.
The practical rule is simple: Campaign Date tells the reader when it happened; Timeline Sort tells GazetteBuilder where it belongs.
