Herodotus Pro / Documentation

All Attributes

These attributes belong to [herodotus]. Pro attributes require an active, licensed or trial-enabled Pro add-on as well as Free.

AttributeAvailabilityDefaultAccepted values and effect
layoutFree / ProlistFree: list, compact, text. Pro: grid, grid-2, grid-3, grid-4, carousel, carousel-1..4, timeline.
categoryFree / ProEmptyCategory slug. Pro also accepts comma-separated slugs, matching any listed category.
limitFree0Positive number of events. 0 uses Posts Limit. In Around today, Pro applies the limit per date.
orderFreeGlobal settingASC or DESC: historical year first, then title within the date. Priority Events in Pro precede ordinary events.
excerpt_wordsFree0Positive word count. 0 inherits the global setting, falling back to 25. Compact defaults to 10 unless explicitly overridden.
show_imageFreetrueUse the exact string false to hide the image and placeholder. Text layout always hides images.
date_modeFree / ProGlobal settingFree: today. Pro: today or around. Use date for a fixed date and upcoming/until for a look-ahead range.
dateProEmptyFixed month/day as MM-DD, for example 07-20. A fixed date takes precedence over the rolling date mode and upcoming range.
tagProEmptyOne tag slug or comma-separated tag slugs. Matches any listed tag; combines with category filters.
exclude_categoryProEmptyOne category slug or comma-separated category slugs to exclude.
upcomingProGlobal Upcoming Days0-60 days ahead, including today. 0 disables this instance's look-ahead range; Around today remains its own mode.
untilProEmptyEnd the look-ahead range at MM-DD. Overrides upcoming when valid. A past month/day rolls into next year; the range is capped at 60 days.
image_shapeProAppearance setting1:1, 4:3, 3:2, 16:9, 4:5, 3:4 or 2:3. Slash notation, such as 4/3, is also accepted.
image_fitProAppearance settingwhole or crop. CSS aliases contain and cover are also accepted.
image_placeProAppearance settingabove, left-edge or left. Applies to grid, carousel and timeline; List and Compact already place images beside text.

Date Modes and Upcoming Events

Today

[herodotus date_mode="today" upcoming="0"]

This Pro example selects today without the global upcoming range. In Free, use the plain shortcode or date_mode="today".

Around Today

[herodotus date_mode="around"]

Includes yesterday, today and tomorrow. Posts Limit applies per date. A configured upcoming range can extend the forward window while keeping yesterday.

Fixed Date

[herodotus date="07-20"]

Uses July 20 regardless of today's month/day. There is no historical-year filter in this attribute.

Upcoming Announcements

  1. Edit each event you want to announce ahead and tick Upcoming Event.
  2. Save the event.
  3. Choose Upcoming Days in Display or set a range on the shortcode.
[herodotus upcoming="14"]
[herodotus until="12-31"]

Today is included without requiring the flag. Days ahead require Upcoming Event. Future announcements show Tomorrow or In N days instead of a years-ago counter when applicable. The maximum range is 60 days, including when using until.

Attribute Scope

Combine category, tag and exclusion filters to narrow the same date window. Unknown attributes are ignored. An inactive Pro add-on cannot provide Pro layouts or date features. The native Gutenberg block and the random shortcode accept smaller sets; see Gutenberg Block and Random Events.