Split illustration: a cracked monolithic page-builder slab chained to a database versus a robotic arm assembling an inspectable layered theme with version-control branch lines

Page Builders vs a Custom Theme Built to Spec: The Agent-Era Case for Code

For a decade, the pitch for page builders was simple: you shouldn’t have to write code. Elementor Pro, the market leader at roughly $60 to $200 per year depending on tier, turned visual assembly into a product, and millions of sites shipped that way.

Then the people doing the building changed.

In 2026, the fastest, cheapest, most reliable member of your team is a coding agent. For an agent, a page builder is the wrong-shaped tool: an opaque database of proprietary widget JSON behind a pro-license paywall. A custom theme built to spec is the right-shaped tool because it is code the agent can read, test, and improve. This article is about that second option, and specifically about how WP Rig makes the Figma-to-production pipeline almost unfair.

The workflow that beats the builder

Here’s the full pipeline for a client project where the design arrives as a Figma file:

Design tokens flowing from a Figma-style design tool through a processing node into CSS, editor panels, and a WCAG-checked palette
From Figma to production: design tokens flow through WP Rig’s token pipeline into CSS, theme.json, and a WCAG-checked palette.

1. Design in Figma. Your designer works normally, with colors, type scale, spacing, and components. The design system lives in Figma Variables.

2. Export tokens, not screenshots. With Tokens Studio, or any DTCG-compatible plugin, export the design system as W3C Design Token Community Group JSON. Not a redline spec, not a PDF. Data: --color-brand-500: #2563EB, space scales, breakpoints.

3. Feed it to WP Rig. One command:

npm run rig:tokens:import -- --from design/figma.tokens.json --apply

WP Rig’s token pipeline validates the import. Unmapped tokens are reported, never silently dropped. It also runs a WCAG contrast audit on the palette at build time, then generates the CSS custom properties and the block editor’s theme.json presets from the same source. Dark mode values come along for free because every semantic color token carries a light and dark value.

4. Let the agent build to spec. The agent now works in a theme where the design system is enforced, not interpreted:

  • The stylelint rules reject hard-coded colors. The agent physically can’t write #3B82F6 where the token says var(--color-brand-500). The Figma file and the rendered site can’t drift, because drift doesn’t compile.
  • A specificity budget of (0,4,1), nesting capped at three levels, and a hard ban on !important keep the CSS legible for the next agent, and for you.
  • The inspect tool returns exact bounding boxes and computed styles for any selector at any viewport, so the agent verifies the layout against the Figma spec numerically instead of eyeballing a screenshot.

The result is a pixel-faithful build of the Figma design, where “pixel-faithful” is enforced by linters and a contrast gate instead of hoped for. When the designer changes the brand color in Figma, re-export, re-import, and rebuild. The entire theme, including the editor palette, updates in one pass.

Nothing in Elementor’s model touches this. There, the design system lives in whichever widget you happened to configure last, and “global colors” is a database row that a plugin update knows how to lose.

The database is the debt

The deepest difference isn’t features. It’s where the design lives.

Elementor Pro stores the entire design in the database. Page layouts, widget trees, global styles, custom CSS entered in per-element fields, templates, and popups all become rows in wp_posts and wp_options, plus a forest of _elementor_* meta. What this means in practice:

  • Version control doesn’t exist. Your git history ends at the theme boundary. Want to roll back a bad design change? Hope you have a database backup from the right hour. Need to diff two environments? Export JSON blobs and squint. A coding agent, the thing you’re paying to make changes in 2026, cannot see your design in a repo, branch it, diff it, or revert a bad idea with git checkout .
  • Discoverability is zero. To find where a style comes from, you walk a serialized JSON tree stored in a post row. There’s no grep, no “find usages,” no refactoring. Ask your agent “where does this heading size come from?” On a code-built theme, it’s one grep. On Elementor, it’s an archaeology project.
  • Staging and deployment are migrations, not merges. Moving a design change between environments means export/import of JSON through Elementor’s own formats, each carrying its own drift risk. With a code-built theme, git push is the deployment, and a rollback is git revert.
  • Lock-in compounds. The content is portable. The design isn’t. Every page’s layout is Elementor widget markup stored in the database. Deactivate the plugin and the site renders as unstyled soup. A theme is code you own under GPL, and it keeps working no matter which vendor you fire this year.
Tangled database cylinder with frayed sparking cable versus an orderly version-controlled git graph with checked commit nodes
Left: design trapped in a database, tangled, opaque, no history. Right: the same design as a repository, branched, checked, revertible.

With a custom theme built to spec, the design lives in the repository: templates, CSS, block patterns, and tokens. Everything is diffable, reviewable, and revertible. The database goes back to doing the one job it’s good at: storing content.

What the agent gains from a code-driven theme

Everything above gets multiplied when the person doing the work is an agent:

  • The repo is the context. An agent onboarding onto a WP Rig theme reads AGENTS.md, loads its generated rules file, and checks .ai/PROJECT_RULES.md. It knows the architecture, the CSS budget, the token names, and the definition of done before writing a line. Onboarding takes minutes and only happens once. .ai/agent-state.md means the next session skips it.
  • The docs are tools, not tabs. npm run mcp starts WP Rig’s documentation MCP server, so the agent queries the framework’s docs directly instead of hallucinating hooks.
  • Every change is provable. npm run ai:check runs the full battery before work can be called done: the Playwright e2e matrix, 134 tests across Chromium, Firefox, and WebKit, screenshot baselines, spatial regression checks that reason about geometry rather than pixels, and block/pattern/CSS/JS linting. It exits 0 only when everything is green.
  • Skills encode senior judgment. Twenty-eight .ai/skills/ playbooks for architecture, styles, tokens, theme review, and self-review mean the agent applies house standards instead of average-internet defaults.

An agent pointed at a database-backed page builder has none of this. It can poke the REST API, sure. It cannot read the design, because the design isn’t text. It’s a serialized widget tree in a table it shouldn’t touch.

The obvious advantages nobody argues about anymore

These used to sound like “custom theme people” being precious. Now they’re just the list:

  • Fewer plugins. Elementor Pro drags a constellation with it: Elementor itself, Elementor Pro, the forms/notes/popups add-ons, the performance plugin to fix the payload, and the accessibility plugin to fix the contrast. A spec-built theme replaces most of that with theme code, with forms handled through a minimal plugin or the block editor’s native form block and styling handled through tokens. Fewer moving parts means a smaller attack surface and fewer Sunday-night update surprises.
  • No licensing. Elementor Pro is $59 per year for one site and $199 per year for twenty-five, and the AI features are metered credits. A custom theme has zero recurring license cost, zero seat management, and zero “did we renew the essential add-ons bundle?” Across an agency’s whole portfolio, forever, GPL code you own doesn’t phone home.
  • Performance without the performance plugin. WP Rig’s pipeline compiles CSS with Lightning CSS, downlevels modern syntax automatically, adds WebP/AVIF variants of every image at build time, inlines critical CSS per template, preloads fonts with FOUT prevention, and enqueues assets with real dependency graphs. Production bundling minifies, purges, and hashes the output. Then npm run test:perf runs Lighthouse CI against budgets you set for LCP, CLS, and TBT, and fails the build if you blow them. Elementor sites start in a hole: every section is a wrapper tree, every widget ships its own CSS, and the fix is another optimization plugin.
  • Custom effects that builders structurally can’t do. A page builder gives you its widgets’ parameters. Need a scroll-driven canvas scene, a WebGL product configurator, a physics-based hover, a custom block with your own save() markup, or an interaction pattern Figma prototyped and the client approved? In a code-built theme, your agent writes it as a real module that is tree-shaken, minified, and tested. In Elementor, that request becomes “here’s an HTML widget, paste the snippet, pray it doesn’t break on the next update,” or a $300 per year third-party add-on that kind of does it.
  • The whole site is reviewable. Because design equals code equals repo, every change by human or agent shows up in a pull request with a diff. Agents author the PRs, and there is a skill for that too: pull-request-authoring. Humans review them; ai:check gates the merge. Try getting that out of a database row.
Asset assembly line: compression, image conversion, and inlining stations feeding a fast-zone speedometer, with a floating custom particle effect panel above
WP Rig’s build pipeline: minified assets, WebP/AVIF image variants, inlined critical CSS, and font preloading. Then Lighthouse CI budgets fail the build if you regress.

Where content meets this: the Abilities API and MCP

The rebuttal writes itself: fine, but the marketing team still edits pages in the visual editor. That’s what the builder is for.

That argument aged out in December 2025, when WordPress 6.9 shipped the Abilities API into core: a registry where plugins and themes declare their capabilities as self-documenting, permission-checked, JSON-Schema-validated units. These abilities are discoverable by REST, the Command Palette, and the MCP Adapter, version 0.7.x and now on WordPress.org, which exposes them to AI agents as tools.

The practical picture for your content workflow:

  • Content generation through the front door. With the MCP Adapter active, an agent can create and update posts, manage media, and run site tasks through registered, permission-checked abilities. It does not need to scrape admin screens or improvise WP-CLI. Your marketing team keeps editing in the block editor. The agent does the bulk work, like importing the catalog, drafting landing-page copy into draft posts, and generating alt text, through the same governed API.
  • Design edits stay reviewable. When a client does poke at Global Styles in the Site Editor, WP Rig’s rig:bake moves those changes out of the database and into the theme’s files as reviewable artifacts: patterns, templates, and styles, with manifests, dry-runs, and hash-checked cleanup. The client’s experiment becomes a pull request, not a mystery.
Glowing Abilities API hub connecting document, media, gear, and chat modules through permission locks, with a robot hand reaching to invoke an ability
The Abilities API registry: content, media, and site abilities exposed as permission-checked tools an agent can discover and invoke.

So the 2026 stack is not “builder for the design layer, code for the rest.” It’s this: custom theme built to spec, content managed through native tooling, and agents working both layers through APIs that log, gate, and revert.

The honest trade-offs

  • You need a designer who ships tokens. If the “design” is a Canva export, the token pipeline has nothing to eat. The workflow’s magic assumes the design system is real in Figma.
  • Elementor is genuinely good at its job. Rapid assembly, a mature widget ecosystem, a huge template library, and live editing are real strengths. For a solo operator shipping fifty brochureware sites a year without agent leverage, the math can still work. This article is aimed at teams building custom work for clients, where “custom” is the product.
  • A code-built theme is a project, not a purchase. Budget for architecture, blocks, and QA. The difference is that the budget buys an asset you own, not a subscription that rents a design back to you.
  • Agents need managing. An unmanaged agent on a code-built theme is a fast way to ship confident nonsense. That’s precisely why the gates exist: contract-first specs before code, ai:check before done, and audits before launch. Supervision is the product.

The verdict

The page builder bet was this: design should be assembled visually, stored in the database, and guarded by a license. The custom-theme bet, in 2026, is different: design should be a spec, code should be the build, and agents should work inside a loop that checks them.

One of those bets compounds. The other compounds your dependency on a plugin vendor’s roadmap.

Your designer exports tokens from Figma. Your agent builds the theme against enforced standards and proves every change through the gates. Your content team edits through an API built for exactly this. Your repo holds the whole truth, and your rollbacks are one commit long.

Elementor built its empire on “you shouldn’t have to write code.” The punchline of 2026 is that nobody has to. Agents can write code faster than you can click buttons. In the end, code gives you the control, portability, and proof that a visual builder can’t. Code is still poetry.

Leave a Reply

Your email address will not be published. Required fields are marked *