WordPress build system
Foundry
The plugin and theme I build WordPress sites on. Twenty modules and 65 blocks take their look from each brand’s design tokens, and the pages stay editable in wp-admin long after I hand them over.

What’s inside
One plugin, one theme, twenty modules.
Each module is switched on per site, so a site carries only what it uses. If one module fails, Foundry turns that module off and the rest of the site keeps running.
Brochure sites
Marketing, Portfolio and Chrome. Twenty section blocks for a brand site, from the hero and pricing to testimonials, team, gallery and map, plus the header and footer behaviour around them.
Publishing
Editorial, Newsroom, Guides, Knowledgebase, Search and an editor dashboard. Thirty news and guide blocks, review statuses with a pre-publish checklist, and a help centre.
Directories
Directory, Events, Field Reports and Conditions. Listings with categories, areas, hours and maps, a moderated what’s-on calendar, and dated community reports on a listing.
Revenue and integrations
Affiliate links with disclosures, client proposals at private links, and agent-driven work over Advanced Ads, MailPoet and WPML.
Clients
The Portal module is built: a logged-in view of a client’s own sites, Site Health, work performed, tickets and billing. It serves Harbormaster’s client portal when Harbormaster launches.
The theme
A block theme with seven templates, an editable header and footer, and three patterns. Each site’s brand lives in design tokens, so the theme itself is never forked.
Run from code
Every module can be listed and switched on from WP-CLI or the WordPress Abilities API. Fifteen have their own WP-CLI commands for setup, and seven expose REST endpoints. Seven content types come with it.
Update rail
One release reaches every site that runs Foundry, the plugin and the theme alike, from an update server I run myself.
How a build moves
From brand tokens to every site.
A Foundry build moves through five steps. This site went through them too.
-
The brand
Colours, type and spacing go into design tokens, in a child theme or a style variation. Every block reads them.
-
The modules
I switch on the modules the site needs from the command line. A brochure site and a news site run the same plugin.
-
The pages
Pages are native blocks with fields an editor fills in wp-admin. AI tools help me build them, and none of them stays on the site.
-
The handoff check
Before I call a site done it has to pass the Handoff Standard: a stranger can log in and change it, and it runs without the tools that built it.
-
The updates
A fix ships once. The plugin and theme update on every Foundry site from a single release.
The Handoff Standard
Built to be handed over.
Why it exists
A site the owner can change, move and sell.
A finished website is either something the owner can change, move, sell and hand to someone else, or something that works only while its builder is still around. On delivery day the two look the same. The Handoff Standard names the difference and gives anyone a five-minute test for it. Foundry is how I build to it.
- Text, images and sections change in wp-admin, with no code.
- The tools that built the site are gone from it.
- The site can be exported and hosted elsewhere without a rebuild.
- One page of documentation tells the next developer how it is put together.
Related
The standard it builds to, and the platforms beside it.
Each one has its own page.
The Handoff Standard
The open standard Foundry builds to: one five-minute test and seven criteria, published under CC BY 4.0.
Mahi
The platform behind my companies. Its worker sessions review, test and fix Foundry changes before they ship.
Harbormaster
The back office for my companies: clients, billing, support and the server fleet, launching early in the new year. Foundry’s Portal module is built to serve its client portal.
Running on 15 sites, this one included.
Foundry runs 15 of the WordPress sites WebOps hosts. Want it on yours?