=== X-Nihilo ===
Contributors: tlloancy
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, block-styles, block-patterns, full-site-editing, custom-colors, editor-style, wide-blocks, template-editing, custom-background, translation-ready

A sophisticated minimalist theme for movement, discipline and wellness websites. Elegant full-screen mobile menu, and block patterns you can assemble into pages — by hand or from a sentence.

== Description ==
A minimal, sophisticated theme for movement and discipline sites. Sand, sage, quiet gold. Full Site Editing templates and a premium mobile overlay.

Patterns live under **Patterns → X-Nihilo**. On WordPress 7, **Settings → Connectors** can install the AI plugin and a provider; **Pages** then has Generate: describe a page, get a **draft** built only from those patterns — a subset, never the whole set. No API key in the theme. Without AI, the theme is unchanged.

Features:
- Eight studio block patterns (hero, hours, manifesto, practice grid, rhythm, quote, reserve, closed)
- Optional Generate draft on Pages (connector / parse / create)
- Abilities `list-patterns` and `create-page` for the WP assistant / MCP
- Full-screen mobile overlay with accordion
- Full Site Editing templates

Longer walkthrough: `docs/USER-GUIDE.md` (English) and `docs/MODE-DEMPLOI.md` (French).

== Changelog ==
= 1.1.0 = (August 29, 2026)
* Patterns: Eight X-Nihilo sections (hero, hours, manifesto, practice grid, rhythm, quote, reserve, closed) with replaceable copy tokens.
* AI: Optional Generate draft on Pages — phrase → allowlisted patterns → draft page. Needs the official AI plugin and a connector.
* AI: Abilities list-patterns and create-page (edit_pages, draft by default, mcp.public).
* Design: Pattern CSS (sand cards, sage kickers, quiet gold titles). Native admin Generate box.
* Docs: Click path for Settings → Connectors. User guide EN + mode d’emploi FR.
* Compatibility: Tested up to WordPress 7.1.

= 1.0.7 =
* Previous directory release.

== Installation ==
1. Upload the theme folder to /wp-content/themes/ or Appearance → Themes → Add New.
2. Activate X-Nihilo.
3. Optional (WordPress 7): Settings → Connectors → Install the AI plugin (notice on that screen) → install a connector and save the key → Settings → AI → Enable AI. Then Pages → Generate draft. If a request is blocked, Tools → Connector Approvals → approve X-Nihilo.

== FAQ ==
= Do I need AI for this theme? =
No. Templates, overlay and patterns work without it.

= How do I connect AI? =
WordPress 7: **Settings → Connectors**. Use **Install the AI plugin** on that screen, install a connector, save the key, then **Settings → AI → Enable AI**. If Generate is blocked, **Tools → Connector Approvals** and approve X-Nihilo.

= Where is Generate? =
Pages (list and page editor). It creates a draft, never a live page by itself.

= Does every request use all eight patterns? =
No. The model picks 3–7 sections that fit the sentence.

= Can a visitor generate pages? =
No. edit_pages only.

= Why not free HTML from the model? =
It would not stay X-Nihilo. The theme concatenates its own patterns and fills copy tokens. You get core blocks, not a Custom HTML dump.

== Copyright ==
X-Nihilo WordPress Theme, Copyright 2026 tlloancy
X-Nihilo is distributed under the terms of the GNU GPL.

== Images ==
All images included in the theme (assets/images/x-nihilo_her.png and assets/images/x-nihilo_404.png)
were generated by the author using Flux AI (Black Forest Labs) and are released under
the same license as the theme (GPLv2 or later).
