A modern WordPress agency stack in 2026 is a block theme, a component system of custom blocks written in code, content modelling in files, a short list of plugins, Git for everything, and an AI coding tool that can read and write all of it. WordPress stays where it earns its place, as the editor and the content store, and the front end is either the theme or your own framework.
This guide goes through each layer: what it replaces, what to use, and where the older way is still the right call.
We make Gutenberg Control Blocks (GCB), and it is the tool we use for three of the layers below, so read those parts knowing that. Everything else here is WordPress core or general practice, and the stack works with other tools in those slots.
The stack at a glance
| Layer | The older way | The modern way |
|---|---|---|
| Design system | A stylesheet and a page builder's global settings | A block theme with theme.json tokens |
| Components | ACF flexible content layouts and PHP templates, or a page builder's widgets | Custom Gutenberg blocks, one folder each, in the theme |
| Content model | Post types and field groups built in the admin, then exported to JSON | Post types, taxonomies and fields written as JSON files |
| Editing | A form in one place, the page in another | The client edits the real design, on the page |
| Plugins | One per feature | A short list for the jobs that are really someone else's |
| Workflow | Git for templates, with field groups built in the admin and synced as exported JSON | Git for everything. The files are the source, not an export |
| AI | Copying snippets out of a chat window | A coding agent that reads the docs and writes the files |
| Front end | The theme, always | The theme, or Next.js, Astro or Nuxt when the project needs it |
1. A block theme and theme.json
Start with a block theme. theme.json holds your colours, type scale and spacing as named tokens, and WordPress turns them into CSS variables such as var(--wp--preset--color--accent). That file is your design system's single source: the editor, core blocks and your own blocks all read from it.
The rule that makes this work is that nobody types a hex code. A colour field in a block offers the theme's palette, a spacing field offers the theme's spacing scale, and a rebrand is a change to one file. GCB's colour, spacing and size fields can offer your theme.json tokens to the client.
2. A component system of custom blocks
This is the layer that replaces ACF flexible content, or the page builder if that's what you used. Each section of a site is a block you wrote: hero, card grid, testimonial slider, pricing table, store locator. Each block is a folder in the theme.
wp-content/themes/your-theme/
theme.json
blocks/
hero/
block.json
block.fields.json
render.php
style.css
team-grid/
testimonial-slider/
pricing-table/
With GCB, a block is those three files and nothing else. block.json is WordPress's own metadata file. block.fields.json lists what the client can change. render.php is the template. There is no build step and you never register the block: add the folder and it's in the editor. How to build a block shows a complete one.
Because a block is a folder, your component system travels. Copy blocks/hero/ into the next client's theme, change the CSS, and it works. Over a few projects that folder becomes the agency's library.
These should be functional blocks, not only layouts. A slider with slides the client adds and reorders, tabs, an accordion, a block that holds other blocks in two or three separate areas. See carousel, tabs and accordion blocks and several InnerBlocks areas in one block.
3. Content modelling in files
Structured content, such as people, projects, locations and products, belongs in custom post types with typed fields, not in page content. The modern change is where that model is written: in the files themselves, not in admin screens with an export to keep in sync.
With GCB a post type is one JSON file in the theme's gcb-post-types/ folder, with its taxonomies and fields beside it:
{
"post_type": "person",
"args": { "label": "People", "public": true, "menu_icon": "dashicons-groups",
"supports": ["title", "thumbnail"], "has_archive": true },
"taxonomies": [
{ "taxonomy": "department", "args": { "label": "Departments", "hierarchical": true } }
],
"fields": { "controls": [
{ "id": "p_role", "type": "text", "label": "Role", "attributeKey": "role" },
{ "id": "p_email", "type": "email", "label": "Email", "attributeKey": "email" }
] }
}
The same field types work on options pages, taxonomy terms and user profiles, and the values are read in PHP or from the REST API. The content modelling page has the details. The point for an agency is that the content model is now reviewed in a pull request and deployed with the theme, the same as the blocks that display it.
4. Editing on the real design
A client should edit the page they are looking at. They click the heading and type. They swap the photo where it sits. They add a slide to the slider and see the slider. What they should not be able to do is break the layout, so the developer decides what can change: which fields exist, what is required, how long a heading may be, how many cards a row may hold.
That split is the thing clients notice most. See visual editing, validation and required fields and locking layouts for clients.
5. A short plugin list
Once the design system, components and content model live in the theme, most of the plugin list goes away: no page builder, no add-on packs for it, no separate slider, tabs, accordion or custom post type plugins. What stays is the work that is really someone else's speciality:
- forms;
- SEO;
- caching and performance, where the host doesn't do it;
- backups and security, where the host doesn't do it;
- e-commerce, if the site sells.
6. Git, staging and a deploy
Everything above is a file, so everything above goes in version control. The theme is a repository. Changes are made locally or on staging, reviewed, and deployed. If you already keep your field groups in version control as exported JSON, this will feel familiar. The difference is that here the file is the source: there is no admin screen to click through first, and no sync step between the database and the repository.
Use Composer for PHP dependencies if you have them. Add a JavaScript build only for a block that needs one. A block that is PHP, JSON and CSS needs none, which keeps onboarding a new developer to "clone the repo".
7. AI-assisted development
AI coding tools are good at reading documentation and writing small, well-defined files. They can drive admin screens too, but a file is faster to write, and it leaves a change you can read and review. A stack made of plain files with a published schema is one an agent can work in: you ask for a store locator block and it writes the folder.
With GCB that pays off in a few ways. A block is three small files with no build step, so an agent writes it in minutes and there is nothing to compile. The agent only lists the fields, and GCB builds the client's editing experience from them, so there is no editor code to generate or check. Post types and their fields are JSON files too, so the same request can cover the content model. And every block it writes is a folder you keep for the next project.
Two things make that reliable. First, give the agent the docs: GCB publishes llms.txt and the whole documentation in one file for exactly this. Second, keep a human reviewing the diff, which Git already gives you. Building WordPress blocks with Claude Code walks through it.
8. Headless, when the project needs it
Most sites are best served by the theme. Go headless when there is a reason: an app-like front end, a front-end team that works in React or Vue, or several front ends reading one content store. WordPress then manages content and your framework renders it.
The usual cost of headless is that editors lose their visual preview and type into bare fields. It doesn't have to be. With GCB the block editor asks your front end to draw each block and shows the result on the canvas, so the client still edits the real design. See headless WordPress with visual editing in Next.js.
Where the older way is still the right call
- No developer on the project. This stack is code-first. A site built and run by a non-developer is better served by a page builder or a hosted site builder.
- A small site on a small budget. If the brief is five pages by Friday, a good starter theme and core blocks will get there faster than a component library you haven't built yet.
- A large site already built on field groups and templates. It works, and rewriting it has to pay for itself. Move new sections across as you build them; moving from ACF Blocks shows how.
How to start
- Pick one new project, not an existing site.
- Set up the block theme and put the design tokens in
theme.json. - Build the five or six blocks the design needs most, each in its own folder.
- Model the structured content as post types and fields in files.
- Put the theme in Git and deploy from it.
- Keep the blocks. The second project starts with a library.
Next
- How to build WordPress blocks: three ways, with code.
- Finished example blocks to download and read.
- Why we built GCB.