AI-Powered Pattern Page Builder for the Elayne Block Theme
Waygate lets you assemble WordPress pages from Elayne block patterns — manually or via a natural-language AI prompt powered by the WordPress AI Client (WordPress 7.0+).
Beta — v0.2.0. Use on staging/development sites; not yet recommended for production.
- Pattern catalog — Browse all registered Elayne patterns with slug, title, and categories
- AI page generation — Describe the page you want; the AI picks patterns and creates a draft
- Abilities API — Exposes
elayne/list-patternsandelayne/create-pageabilities for WP 7.0+ - Multi-provider — Works with Mistral, Claude, OpenAI, or Gemini via WP AI Client
| Requirement | Version |
|---|---|
| PHP | 8.0+ |
| WordPress | 6.5+ |
| Elayne theme | Recommended |
| WordPress AI Client | 7.0+ (optional, for AI features) |
composer require imagewize/waygate- Download the latest release zip from GitHub Releases
- Upload and activate via Plugins → Add New → Upload Plugin
AI page generation requires a running AI provider. Waygate supports:
Mistral (via Composer):
composer require saarnilauri/ai-provider-for-mistralThen add MISTRAL_API_KEY=your_key to your site .env.
Claude / OpenAI / Gemini: Install the relevant provider plugin via Settings → Connectors in WordPress 7.0+.
- Go to Tools → Waygate in the WordPress admin
- Browse registered Elayne patterns in the catalog
- Optionally type a page description and click Generate Page to create an AI-assembled draft
- Open the draft in the block editor, adjust as needed, and publish
When WordPress 7.0's Abilities API is available, Waygate registers two abilities:
| Ability | Description |
|---|---|
elayne/list-patterns |
Returns patterns, optionally filtered by category |
elayne/create-page |
Creates a draft page from an ordered list of pattern slugs |
git clone https://github.com/imagewize/waygate.git
cd waygate
composer installGPL-2.0-or-later — see LICENSE.