Skip to content
Epiktetos Theme1.0.0
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

FilePurpose
parts/header.htmlHeader wrapper, logo, navigation, header actions, and search panel shortcodes.
parts/footer.htmlFooter wrapper rendered through [epiktetos_footer].

Block templates

FileMain behavior
templates/404.htmlRenders [epiktetos_404].
templates/archive.htmlRenders [epiktetos_archive].
templates/author.htmlRenders [epiktetos_author].
templates/category.htmlRenders [epiktetos_archive].
templates/front-page.htmlRenders hero, latest articles, category showcase, and sidebar shortcodes.
templates/index.htmlNative Query block fallback.
templates/page.htmlRenders [epiktetos_page].
templates/page-about.htmlRenders [epiktetos_about].
templates/page-contact.htmlRenders [epiktetos_contact].
templates/page-saved.htmlRenders [epiktetos_saved].
templates/page-topics.htmlRenders [epiktetos_topics].
templates/search.htmlRenders [epiktetos_search].
templates/single.htmlRenders [epiktetos_single].
templates/tag.htmlRenders [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