Skip to content
Epiktetos Theme1.2.0
1.2.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. In version 1.2.0, the homepage can also be managed through a normal WordPress page selected as the static front page.

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. Create or edit the page that should act as the homepage.
  5. Go to Settings > Reading and select that page as the static front page when using the page-driven workflow.
  6. Review Appearance > Epiktetos > Editorial and any module label settings used by the homepage sections.
  7. 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.

Related articles