Getting started — overview
Corex is the framework source (a theme + plugins + add-ons in a monorepo). To run it you map that source into a real WordPress install — the repo stays the single source of truth; WordPress core is never committed.
Requirements
Section titled “Requirements”- PHP 8.3+ and WordPress 7.0+
- Composer 2 (PHP dependencies + autoload)
- Node 22.22+ and npm (the block/SCSS/JS build, and these docs)
- WP-CLI (install, activate, and the
wp corexcommands) - A local stack: WAMP/Apache + MySQL, or wp-env/Docker
The two paths
Section titled “The two paths”- WAMP / Apache + WP-CLI — install WordPress into
./wp, run it on your local Apache. This is how this repository is set up. - wp-env / Docker — a throwaway containerised
WordPress via
@wordpress/env(config already inwp-env.json).
Either way you then wire the monorepo into
wp-content/ and do the first run.
The mental model
Section titled “The mental model”theme/is a skin — presentation only (FSE templates, parts, patterns, tokens). Deactivating it breaks presentation, never data or behaviour.plugins/corex-coreboots itself onplugins_loadedand is the engine.plugins/corex-blocks,plugins/corex-forms,plugins/corex-configand theaddons/*mount on the core.- Build the front-end assets once with
npm install && npm run build(see Create a block).