AI Page Designer
An AI-powered WordPress plugin that connects multiple AI providers via API to help users create professional, responsive, and accessible web pages. It supports Gutenberg, Elementor, and extensible page-builder integrations, with multilingual, RTL, and LTR compatibility. Built with security, performance, and WordPress.org standards in mind.
by AI Page Designer contributors · github.com/tabriznia-dotcom/wp-fast-api-ai · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tabriznia-dotcom/wp-fast-api-ai/archive/refs/heads/prodev%2Ftender-pascal-uv7qo0.zipA WordPress plugin that turns a written brief into an accessible, responsive draft page for the block editor, Elementor or the classic editor, using the AI service the site owner chooses.
The AI never writes HTML or code directly. It fills a strictly validated Page Schema (JSON), which the plugin sanitizes, checks for accessibility, and converts into native content for each page builder.
- WordPress: 6.6+ (tested with 6.6.2 and 7.1.2) · PHP: 7.4+ · License: GPL-2.0-or-later
- Text domain:
ai-page-designer· Translations: English, Persian (fa_IR) · RTL: yes

Features
- Nine-step wizard: page type → business and audience → language and direction → colors/fonts/style → page builder → editable structure → responsive preview → draft → editor.
- Block editor first: only core blocks, verified to load without invalid blocks in the real WordPress 6.6 and 7.1 editors; content stays editable if the plugin is deactivated.
- Elementor adapter through Elementor's public Documents API (containers or sections; Pro widgets only when Elementor Pro is active; no fatal error without Elementor).
- Classic/HTML adapter for every other theme or builder.
- Providers: OpenCode Zen / Go (one key for GPT, Claude, Gemini, Qwen, DeepSeek, GLM, Kimi…; native API format per model), any OpenAI-compatible Chat Completions API, or the WordPress 7.0+ AI Client (Connectors). Add more with one interface.
- Accessibility: single H1, heading order, WCAG AA contrast repair, alt text checks, keyboard-operable admin, axe-tested.
- Multilingual/RTL: content language independent of admin language; real mirrored RTL layouts; WPML/Polylang language assignment.
- Security/privacy: encrypted keys, SSRF protection, strict allowlists, shortcode neutralization, consent, per-request cost confirmation, rate limits, retention, exporter/eraser, opt-in uninstall cleanup. No tracking.
Quick start (development)
composer install && npm install && npm run build
bash bin/install-wp-tests.sh 7.1.2 /tmp/aipd-wp # WordPress + test library on SQLite
export WP_TESTS_DIR=/tmp/aipd-wp/wordpress-develop/tests/phpunit
export WP_TESTS_CONFIG_FILE_PATH=/tmp/aipd-wp/wp-tests-config.php
composer lint && composer test && npm run lint:js && npm run test:blocks
bash bin/build-zip.sh # dist/ai-page-designer.zip
End-to-end tests: bash bin/e2e-setup.sh (starts a local site on port 8889) and npm run test:e2e.
Documentation
| Document | Contents |
|---|---|
| docs/product-analysis.md | MVP scope, roadmap, risks, WordPress.org compliance decisions, acceptance criteria |
| docs/architecture.md | Components, data flow, Page Schema, interfaces, storage, capabilities, REST, jobs, UI/UX, tokens, RTL, accessibility |
| docs/user-guide.md | Installation, API setup, first page, troubleshooting |
| docs/provider-development.md | Writing an AI provider |
| docs/page-builder-adapters.md | Writing a page builder adapter |
| docs/hooks.md | Actions and filters |
| docs/rest-api.md | REST endpoints |
| docs/security.md | Threat model and controls |
| docs/privacy.md | Stored and transmitted data, privacy tools |
| docs/translation-and-rtl.md | Translation workflow and RTL behavior |
| docs/development.md | Tooling, tests, build and release |
| docs/qa-report.md | Test results for 1.1.0 |
| docs/wordpress-org-checklist.md | Submission checklist |
| readme.txt | WordPress.org readme (including External services) |
| CHANGELOG.md | Release notes |
Repository layout
ai-page-designer.php uninstall.php readme.txt LICENSE
includes/ PHP (PSR-4, own autoloader) src/ wizard and admin JS sources
build/ compiled assets assets/ admin CSS
templates/ built-in Page Schema templates languages/ POT, fa_IR
tests/ Unit, Integration, E2E, js docs/ documentation
bin/ test environment, E2E setup, release ZIP
.wordpress-org/ directory banner, icon, screenshots