1.0.01 min read
Templates
Reference the block templates, template parts, and PHP saved-route template in Epiktetos.
Epiktetos uses block templates for standard WordPress views and a PHP template for the saved reader route.
Template parts
| File | Purpose |
|---|---|
parts/header.html | Header wrapper, logo, navigation, header actions, and search panel shortcodes. |
parts/footer.html | Footer wrapper rendered through [epiktetos_footer]. |
Block templates
| File | Main behavior |
|---|---|
templates/404.html | Renders [epiktetos_404]. |
templates/archive.html | Renders [epiktetos_archive]. |
templates/author.html | Renders [epiktetos_author]. |
templates/category.html | Renders [epiktetos_archive]. |
templates/front-page.html | Renders hero, latest articles, category showcase, and sidebar shortcodes. |
templates/index.html | Native Query block fallback. |
templates/page.html | Renders [epiktetos_page]. |
templates/page-about.html | Renders [epiktetos_about]. |
templates/page-contact.html | Renders [epiktetos_contact]. |
templates/page-saved.html | Renders [epiktetos_saved]. |
templates/page-topics.html | Renders [epiktetos_topics]. |
templates/search.html | Renders [epiktetos_search]. |
templates/single.html | Renders [epiktetos_single]. |
templates/tag.html | Renders [epiktetos_tag]. |
PHP template
templates/saved.php is used by the reader feature for the virtual saved route.
Shortcode dependency
Most Epiktetos block templates depend on theme shortcodes. Removing the PHP classes that register those shortcodes will leave the templates incomplete.
Related articles
Theme StructureUnderstand the Epiktetos directory layout and the role of each major file group.Homepage SetupConfigure the Epiktetos homepage sections and editorial content flow.Block Patterns / Editor SupportReview Epiktetos editor support, theme.json configuration, and missing pattern/block features.