A WordPress theme by Thought & Expression Co. for hybrid sites — sites that use the block editor for content, but still render the front end with classic PHP templates.
Important
Starting a new site? New sites in the Thought & Expression Company network should start with the goth theme instead. Goth supports full site editing and can be used as a parent theme or as the starting point for a site-specific block theme. Cata remains in use for existing hybrid sites.
- Classic PHP templates (
header.php,footer.php,index.php,single.php,page.php,404.php, etc.) with reusable pieces intemplate-parts/. - Block editor support via
theme.json(v2): fluid font scale, root-padding-aware alignments, content/wide layout widths, spacing scale, and editor styles. - PHP features organized as autoloaded classes in
includes/, initialized inincludes/bootstrap.php:- Block styles (e.g. Streaming) and block image sizes
- Custom rich-text formats (Mark)
- Asset enqueueing, image sizes and content width
- Excerpts, nav menus, sidebar, languages, admin and block editor customizations
- WordPress
- PHP
- Node.js (for building assets)
- Composer (for coding-standards tooling)
Install dependencies:
npm install
composer installJavaScript and LESS sources live in assets/src/ and are compiled with esbuild into assets/dist/:
npm run buildnpm start builds, watches for changes, and serves the site through BrowserSync at http://localhost:3000/:
npm startThe BrowserSync proxy target is configured in bin/browser-sync.js (defaults to dev.local).
PHP coding standards use VIP WPCS via PHPCS (see phpcs.xml.dist):
vendor/bin/phpcsInspiration from _s, Susty and Storefront.