Skip to content

Date System: Day + Month + Year

Unlike standard WordPress posts that use a publication date, Herodotus uses a custom date system based on three separate meta fields:

How It Works

Meta Key Type Example
_herodotus_day Integer (1–31) 20
_herodotus_month Integer (1–12) 7
_herodotus_year Integer 1969

The Logic

When someone visits your page with [herodotus]:

  1. The plugin reads the current date from WordPress (respecting your timezone settings).
  2. It queries all herodotus_post entries where:
  3. _herodotus_day = today's day
  4. _herodotus_month = today's month
  5. Results are displayed in the chosen layout.

The year of the event is NOT used for matching — it's only displayed as a badge on the event card. This is what makes events truly recurring.

Example

You create an event: - Day: 14 - Month: 3 - Year: 1879 - Title: "Albert Einstein's Birthday"

This event will appear every March 14th, regardless of the current year. The "1879" badge shows visitors when the event originally occurred.

Timezone Handling

The plugin strictly respects your WordPress timezone setting (Settings → General → Timezone). If your site is set to Europe/Berlin, "today" is determined by Berlin time, not UTC.