DEV3 AI Page Builder for Gutenberg

Block-editor plugin: 32 server-rendered blocks, five template kits and a brand kit, plus AI that turns a page description into a draft built from native blocks, with no shortcodes and no block-validation warnings.

by DEV3 TechnologiesVerified Author(0) 0 downloads 0 viewsUpdated 29 Oct 2026
1 / 8

Block-editor plugin: 32 server-rendered blocks, five template kits and a brand kit, plus AI that turns a page description into a draft built from native blocks, with no shortcodes and no block-validation warnings. Free download: sign in and click Download ZIP. Add your own Google AI Studio (Gemini) API key to switch on the AI features; the documentation says which features work without one.

How it works

We built DEV3 AI Page Builder for Gutenberg in PHP with a React editor integration. The model never writes markup. It returns a small, typed page plan, and the plugin builds the blocks itself.

Key design decisions

  • A section plan, not HTML. The Google Gemini API answers with structured JSON: up to 10 sections drawn from 16 types (hero, features, pricing, FAQ, menu and others), each with capped strings, enums for layout, background and icons, and up to 12 items. Schema::normalize_page() then re-checks every field: unknown types are dropped, list sections without items become plain content sections, plans without a price are removed, and exactly one pricing plan ends up featured.
  • Every DEV3 block is dynamic. All 32 dev3pb/* blocks render on the server. Containers save only <InnerBlocks.Content /> and leaves save null, so the editor has no stored wrapper HTML to compare and validation cannot fail on them.
  • Byte-exact core blocks. The text inside sections uses core heading, paragraph, list, buttons, image and details blocks. Layout\Block builds each one as a parsed-block array whose HTML matches that block's own save() output, down to class order and newlines, and serialize_block() writes it out. PHPUnit asserts the exact strings.
  • Rebuild on insert. In the editor, generated markup is parsed and every block is rebuilt with createBlock(), so the editor re-serialises it with its own save functions before anything is stored.
  • The server never trusts client markup. "Create draft page" sends the plan back, not HTML; the server normalises it again and rebuilds the blocks. Only the hero heading becomes an H1.
  • Regenerate one section. Each generated section carries an aiType attribute. Regeneration summarises the current section as indented plain text, sends it with the user's instruction, and swaps in a new section of the same type while the rest of the page stays as it is.

Architecture

Block definitions live in PHP and the editor reads them from server data, so attributes have one source of truth. A brand kit (colours, fonts, radius, voice) becomes CSS custom properties, can be added to the theme.json palette and is passed into every prompt; a WCAG contrast table checks the saved colours. Five template kits (landing, SaaS, agency, shop, restaurant) with eight pages, and a library of more than 40 ready-made sections, are built from the same section plans as the AI output. An SEO pass reads headings, images and links back out of the blocks and syncs titles with Yoast SEO and Rank Math. The API client, encrypted key storage, usage caps and logs come from a shared core used across DEV3's plugins.

What's in the download

  • The installable plugin zip: upload it through Plugins → Add New → Upload Plugin.
  • Full HTML documentation (installation, settings, hooks, FAQ).

Requirements

  • WordPress 6.0 or newer (6.3 or newer recommended, for the native Details block used by accordions) and PHP 7.4 or newer
  • The block editor (Gutenberg). Works with block themes and classic themes
  • Optional: a Google Gemini API key. Without one, blocks, template kits, the design library, the brand kit, forms and the rule-based SEO checks all work; only the AI tools need it

Learn more

Frequently asked questions

The complete source code (version 1.0.0) as a download from your account, with the setup and usage guides shown on this page. It is free: sign in to download it.

More from this author

View all

Related in CMS Extensions

View all