Theme Structure
Understand the Epiktetos directory layout and the role of each major file group.
The inspected source is organized as a block theme with PHP classes for front-end rendering and admin settings. The clean release ZIP contains the theme directory and excludes local WordPress runtime files and repository-level development artifacts.
Top-level files
epiktetos/
style.css
functions.php
theme.json
readme.txt
screenshot.png
assets/
inc/
languages/
parts/
templates/
The source repository also keeps a phpcs.xml.dist ruleset for local review work. The release ZIP prepared for upload excludes that PHPCS file.
Major directories
| Path | Purpose |
|---|---|
assets/ | CSS, JavaScript, fonts, icons, SVG, and brand assets. |
inc/ | PHP classes for header, footer, homepage, dynamic module labels, reader, Article Voiceover, SEO, settings, admin, Sample Content, templates, and taxonomies. |
languages/ | Translation directory. The inspected version contains index.php; no .pot, .po, or .mo files were present. |
parts/ | Block template parts for header and footer. |
templates/ | Block templates and one PHP template for the saved reader route. |
PHP class areas
The theme loads feature classes from functions.php, including branding, header, hero, latest posts, categories, footer, comments, single posts, Article Voiceover, reader, search, archive, pages, taxonomies, SEO, settings, admin, and wizard classes.
Bundled Sample Content
Version 1.2.0 includes inc/sample-content/ with JSON manifests and local WebP media. The admin Sample Content tool reads this local package to create posts, pages, menus, taxonomies, comments, theme options, featured images, and page-driven homepage setup data.
Block theme files
theme.json defines the design system and editor settings. parts/header.html and parts/footer.html use shortcode blocks to delegate layout output to the PHP classes.