Skip to content
Epiktetos Theme1.0.0
1.0.01 min read

Theme Structure

Understand the Epiktetos directory layout and the role of each major file group.

The inspected package is organized as a block theme with PHP classes for front-end rendering and admin settings.

Top-level files

Code
epiktetos/
  style.css
  functions.php
  theme.json
  readme.txt
  screenshot.png
  phpcs.xml.dist
  assets/
  inc/
  languages/
  parts/
  templates/

Major directories

PathPurpose
assets/CSS, JavaScript, fonts, icons, SVG, and brand assets.
inc/PHP classes for header, footer, homepage, reader, SEO, settings, admin, 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, reader, search, archive, pages, taxonomies, SEO, settings, admin, and wizard classes.

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.

Related articles