Homepage Setup
Configure the Epiktetos homepage sections and editorial content flow.
The homepage template is templates/front-page.html. It renders the header and footer template parts plus Epiktetos shortcodes for the editorial homepage sections.
Homepage sections
| Section | Source |
|---|---|
| Hero | [epiktetos_hero] |
| Latest articles | [epiktetos_latest_articles] |
| Category showcase | [epiktetos_category_showcase] |
| Sidebar/editorial rail | [epiktetos_sidebar] |
Hero behavior
The hero class looks for posts in a set of editorial category slugs by default:
technology, philosophy, psychology, history
These can be adjusted with the epiktetos_hero_categories filter. If a preferred category post is not available, the theme falls back to a sticky or recent post.
Latest articles
The latest section queries recent posts. The count can be adjusted with the epiktetos_latest_count filter.
Category showcase
The category showcase uses category ordering stored by the theme settings/admin tooling. The theme caches category showcase data and clears that cache when posts, terms, or the relevant category order option changes.
Setup checklist
- Create categories that match the editorial structure of the site.
- Publish posts with featured images and excerpts.
- Assign posts to categories.
- Review Appearance > Epiktetos > Editorial.
- Open the homepage and confirm the hero, latest articles, category showcase, and sidebar areas are populated.
Shortcode-driven sections
The homepage is a block template, but the major editorial sections are rendered by theme shortcodes.