Examples & Combinations¶
Detailed Attribute Reference¶
layout¶
Controls the visual appearance of the events list.
list (default):
- Full-width cards
- Large featured image
- Full excerpt
- Category label
- "Read more" link
- Best for: main content areas, full pages
compact:
- Small square thumbnail (left-aligned)
- Short title and excerpt
- No category label
- No "Read more" button
- Best for: sidebars, widget areas, narrow columns
limit¶
Restricts the number of events displayed.
If there are 10 events for today and you set limit="3",
only the first 3 (after sorting) will be shown.
category¶
Filters events by a specific Herodotus category. Use the category slug (not the name).
To find the slug: go to Herodotus → Categories and look at the "Slug" column.
excerpt_words¶
Controls how many words appear in the event excerpt.
This overrides the global setting for this specific shortcode instance.
show_image¶
When set to false, hides all images (including the default
placeholder). Events display only title, excerpt and Read more.
order¶
Overrides the global sort order for this shortcode instance.
ASC = A → Z (alphabetical) | DESC = Z → A (reverse alphabetical)
Combining Attributes¶
All attributes can be combined freely: