Jikji Guide
Build in the editor, work from your terminal, or give an agent a clear set of rules.
Download MarkdownOn this page
Jikji is a WordPress page builder that keeps a page as a document — HTML with a handful of j: attributes plus style rows — and, when the page is published, compiles it to a PHP template and a CSS file that the front end executes. Pages replace the content area of the theme template; in a block theme, templates, template parts and synced patterns can be Jikji documents too, so the whole page can be built this way.
Choose your starting point#
Building in the editor#
Start with Getting started and The editor. Then explore blocks, styles, dynamic data, and templates.
Working from a shell or script#
Read the Syntax reference and wp jikji. Use the REST API when HTTP fits your workflow.
Using an AI coding agent#
Start with For AI coding agents, then keep the syntax and command references nearby.
All chapters#
-
Getting started — Requirements, installation, settings, permissions, and your first page.
-
The editor — The toolbar, canvas, panels, breakpoints, states, and history.
-
Blocks — The block catalogue, media, code, shortcodes, and WordPress block islands.
-
Styles — ID and class styles, responsive rules, accepted CSS, and theme layering.
-
Dynamic data — Bindings, data helpers, queries, loops, custom fields, and pagination.
-
Templates, parts and patterns — The Site Editor, hierarchy templates, parts, synced patterns, and fallback.
-
The AI tab — Availability, settings, editing tools, approvals, and usage limits.
-
Syntax reference — The document model, IDs, j: attributes, block islands, and validation.
-
wp jikji command reference — Every command, JSON output, placeholders, locking, and confirmation.
-
REST API reference — The jikji/v1 routes, authentication, permissions, responses, and errors.
-
For AI coding agents — Access paths, tested recipes, verification, undoing, and common pitfalls.
-
Troubleshooting — Saving, publishing, rendering, data, templates, and AI errors.
Conventions#
- Shell examples use
$WPforwp --path=/var/www/siteand$SITEfor the site URL. Placeholder IDs are written{name};wp jikji content save --placeholdersturns them into server IDs. - Attribute values in examples are written as they must appear in HTML:
"inside a value is",<is<,&is&. The compiler decodes them. - Examples were run on a development site (WordPress 7.1.2, WP-CLI 2.11.0, Secure Custom Fields 6.9.5, a block theme) and checked on the front end before being written down. Everything created was removed afterwards.
- The authoritative contracts live in
docs/requirements.md(syntax 3.2, compilation 3.4, helpers 3.5) and the phase plans; this guide explains them, it does not replace them.