1.0.02 min read
Developer Notes
Constants, shortcodes, option areas, REST routes, and extension notes for Epiktetos.
This page summarizes developer-facing implementation details discovered in the theme code.
Constants and helpers
| Name | Purpose |
|---|---|
EPIKTETOS_VERSION | Current theme version. |
EPIKTETOS_DIR | Filesystem path to the theme directory. |
EPIKTETOS_URI | Theme directory URI. |
epiktetos_asset_ver() | Returns file modification time for an asset or falls back to the theme version. |
Shortcodes
Epiktetos uses shortcode-rendered sections inside block templates.
| Shortcode | Purpose |
|---|---|
[epiktetos_logo] | Header logo output. |
[epiktetos_header_nav] | Header navigation output. |
[epiktetos_header_actions] | Header action controls. |
[epiktetos_search_panel] | Header search panel. |
[epiktetos_footer] | Footer output. |
[epiktetos_hero] | Homepage hero. |
[epiktetos_latest_articles] | Homepage latest posts. |
[epiktetos_category_showcase] | Homepage category showcase. |
[epiktetos_sidebar] | Homepage/sidebar editorial area. |
[epiktetos_single] | Single post layout. |
[epiktetos_search] | Search results template output. |
[epiktetos_archive] | Archive output. |
[epiktetos_author] | Author archive output. |
[epiktetos_tag] | Tag archive output. |
[epiktetos_topics] | Topics page output. |
[epiktetos_page] | Standard page output. |
[epiktetos_about] | About page output. |
[epiktetos_contact] | Contact page output. |
[epiktetos_saved] | Saved articles output. |
[epiktetos_404] | 404 output. |
Options and settings
The admin/settings classes manage option groups for general theme options, branding, header, footer, single posts, discussion, taxonomy, reader, SEO, about, and category ordering.
REST route
Code
GET /wp-json/epiktetos/v1/search?search=query
The route returns public post search results and is intended for the theme search UI.
Extension caution
The theme exposes useful filters and shortcodes, but it does not declare a formal public PHP API. Treat internal class methods as implementation details unless they are documented as hooks or filters.