Building a theme

For the developer or designer who gives a CTXR site its form. Read in order: theme layer, shell ladder, data in a template, helpers, strings, styling, working cycle, data conventions — and, if you come from Shopify, Lightspeed, WordPress or a static-site generator, the translation table last.

These pages are also what the MCP hands out when an agent lists the theme (fetch "docs/theme", search { in: "docs" }): an agent reads them before it writes a shell.

You need PHP and HTML — no framework, build tool or package manager.


Table of contents