Categories (Custom Taxonomy)¶
Herodotus includes its own taxonomy: herodotus_category.
Creating Categories¶
- Go to Herodotus → Categories.
- Enter a Name (e.g., "Science").
- Enter a Slug (e.g.,
science) — used in shortcodes and URLs. - (Optional) Add a Description.
- Click Add New Category.
Assigning Categories¶
When editing a Herodotus event, you'll see the Categories metabox in the right sidebar. Check one or more categories.
How Categories Are Displayed¶
- On event cards: A category label appears as a tag/badge.
- On single event pages: The category is shown prominently.
- Archive pages: Each category has its own archive page at
yoursite.com/herodotus-category/science/
Filtering by Category¶
Use the category shortcode attribute:
[herodotus category="science"]
This shows only today's events that belong to the "science" category.