WP-Next is built with Next.js and WP-Node. It provides two complementary products for building WordPress-powered applications where every layer is written from scratch in TypeScript and React — no PHP involved.
For guides, concepts, and examples, the documentation site is the best starting point.
WP-Next Editor is a visual, drag-and-drop website builder for building public-facing WordPress sites directly connected to your WordPress database. Templates and pages are stored as structured Lexical JSON in the WordPress database — making them version-controllable, programmatically manipulable, and AI-ready.
- Drag-and-drop canvas — build pages visually with a live preview. Select, resize, nest, and animate elements directly on the canvas.
- Responsive design — set per-device breakpoints (desktop, tablet, mobile) and CSS states (hover, focus, etc.). Each device gets its own
@mediaquery at render time. - Dynamic data binding — pull posts, users, taxonomies, and options directly from the WordPress database into any element. No custom API endpoints required.
- Widget system — embed sub-templates (widgets) inside other templates for reusable headers, footers, and components. Widget variants let the same widget render different content per embedding.
- CSS variables — define design tokens at the template level and reference them across all elements for consistent theming.
- Animations — attach CSS keyframe animations (98 Animate.css presets) to any element, triggered by hover, click, scroll, and more.
- JSON editor — edit the raw Lexical JSON directly in a built-in code editor for precise control over template structure.
- Save history — create and manage template save points with preview and restore support.
Run a ready-made WP-Next Editor example using Docker:
docker run --rm --init -it --name wp-next-editor-example -p 3000:3000 \
-v wp-next-editor_public:/app/editor/public \
-v wp-next-editor_db:/var/lib/mysql \
rnagat/wp-next-editor-example:latestLog in with:
Username: wp
Password: wp
- Editor: http://localhost:3000/admin/1/editor
- Admin Dashboard: http://localhost:3000/admin
To stop the container:
docker stop wp-next-editor-examplenpx @rnaga/wp-next-cli -- initEditorSee the Editor Installation guide for the full setup walkthrough.
wp-next-editorincludeswp-next-adminout of the box. See WP-Next Admin below for what it provides.
WP-Next Editor ships with a built-in Agent Skill (/wp-next-editor-template) that lets you build and modify templates using natural-language prompts. All templates are stored as Lexical JSON, so AI agents can read, write, and transform them directly.
Agent Skills is an open standard supported by Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, VS Code, and more. Install the skill once and use it with whichever coding agent you prefer.
The skill supports four modes:
| Mode | What it does |
|---|---|
create |
Scaffold a new template from a natural-language description |
update |
Modify an existing template based on a prompt |
convert |
Convert HTML/CSS into a Lexical JSON template |
help |
Describe available nodes, styles, and patterns |
Install the skill with:
npx @rnaga/wp-next-cli -- editor agentSkills addExample prompt:
/wp-next-editor-template create src/templates/home.json "A hero section with a full-width background image, centered headline, subtitle, and a CTA button"
See Using AI for installation details and more examples.
WP-Next Admin is a React-based Admin Dashboard — a headless CMS that serves as a modern alternative to the traditional WordPress Admin Dashboard.
Out of the box, it includes:
- Posts & Pages
- Media
- Terms (Categories, Tags)
- Comments
- Profile & Settings
- Users and Roles
- Revisions
In multisite mode, it also supports:
- Sites
- Blogs (per-site content such as posts, media, comments)
Run a ready-made WP-Next example using Docker:
docker run --rm --init -it --name wp-next-example -p 3000:3000 \
-v wp-next-example_public:/app/admin/public \
-v wp-next-example_db:/var/lib/mysql \
-v wp-next-example_html:/app/html \
rnagat/wp-next-example:latestVisit http://localhost:3000/admin and log in with:
Username: wp
Password: wp
To stop the container:
docker stop wp-next-examplenpx @rnaga/wp-next-cli -- initAdminSee the Admin Getting Started guide for the full setup walkthrough.
WP-Next Admin supports custom pages and a hook system (filters and actions) inspired by WordPress hooks but built for TypeScript and Node.js. Frontend hooks extend the Admin UI in the browser; backend hooks handle server-side concerns such as authentication, media uploads, and integrations.
See Hooks and Custom Admin Pages in the documentation.
Both products require a running WordPress database. If you don't already have WordPress installed, see the WP-Node installation guide for instructions on running it with Docker.
MIT