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. In version 1.2.0, the homepage can also be managed through a normal WordPress page selected as the static front page.
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.
- Create or edit the page that should act as the homepage.
- Go to Settings > Reading and select that page as the static front page when using the page-driven workflow.
- Review Appearance > Epiktetos > Editorial and any module label settings used by the homepage sections.
- Open the homepage and confirm the hero, latest articles, category showcase, and sidebar areas are populated.
Shortcode-driven sections
The homepage is editable as a page, but the major editorial sections are still rendered by Epiktetos shortcodes.