Categories¶
Herodotus uses its own taxonomy (herodotus_category) to
organize events into groups.
Creating Categories¶
- Go to Herodotus → Categories.
- Fill in:
- Name: "Science" (displayed to visitors)
- Slug:
science(used in URLs and shortcodes) - Description: Optional description
- Click Add New Category.
Managing Categories¶
The category list shows: - Name - Slug - Number of events (count) - Edit / Delete actions
Assigning Categories to Events¶
When creating or editing a Herodotus event: 1. Look for the Herodotus Categories metabox (right sidebar). 2. Check one or more categories. 3. Save/Update the event.
Category Display¶
On Event Cards (List Layout)¶
The category name appears as a label in the card footer, after the title and excerpt.
On Single Event Pages¶
The category is displayed prominently, often with a link to the category archive.
On Compact Layout¶
Category labels are hidden to save space.
Category Archive Pages¶
Each category has its own archive page:
yoursite.com/herodotus-category/science/
This page shows all events in that category (filtered to today's date), using the list layout.
Filtering with Shortcodes¶
Display only events from a specific category:
[herodotus category="science"]
Important: Use the category slug, not the display name.
Examples¶
[herodotus category="politics"] [herodotus category="birthdays" layout="compact"] [herodotus category="music" limit="3"]
Suggested Category Ideas¶
| Category | Slug | Use Case |
|---|---|---|
| Science | science |
Scientific discoveries, inventions |
| Politics | politics |
Political events, elections |
| Birthdays | birthdays |
Famous people's birthdays |
| Music | music |
Album releases, concerts |
| Sports | sports |
Championships, records |
| Literature | literature |
Book publications, author births |
| Wars & Conflicts | wars |
Battles, treaties, declarations |
| Art | art |
Exhibitions, masterpiece creation dates |