Skip to content
Epiktetos Theme1.0.0
1.0.02 min read

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

SectionSource
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:

Code
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

  1. Create categories that match the editorial structure of the site.
  2. Publish posts with featured images and excerpts.
  3. Assign posts to categories.
  4. Review Appearance > Epiktetos > Editorial.
  5. 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.

Related articles