Jikji Guide

Build in the editor, work from your terminal, or give an agent a clear set of rules.

Download Markdown
On 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#

  1. Getting started — Requirements, installation, settings, permissions, and your first page.

  2. The editor — The toolbar, canvas, panels, breakpoints, states, and history.

  3. Blocks — The block catalogue, media, code, shortcodes, and WordPress block islands.

  4. Styles — ID and class styles, responsive rules, accepted CSS, and theme layering.

  5. Dynamic data — Bindings, data helpers, queries, loops, custom fields, and pagination.

  6. Templates, parts and patterns — The Site Editor, hierarchy templates, parts, synced patterns, and fallback.

  7. The AI tab — Availability, settings, editing tools, approvals, and usage limits.

  8. Syntax reference — The document model, IDs, j: attributes, block islands, and validation.

  9. wp jikji command reference — Every command, JSON output, placeholders, locking, and confirmation.

  10. REST API reference — The jikji/v1 routes, authentication, permissions, responses, and errors.

  11. For AI coding agents — Access paths, tested recipes, verification, undoing, and common pitfalls.

  12. Troubleshooting — Saving, publishing, rendering, data, templates, and AI errors.

Conventions#

  • Shell examples use $WP for wp --path=/var/www/site and $SITE for the site URL. Placeholder IDs are written {name}; wp jikji content save --placeholders turns them into server IDs.
  • Attribute values in examples are written as they must appear in HTML: " inside a value is &quot;, < is &lt;, & is &amp;. 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.

Chapters