Create taxonomy
fabrement-create-taxonomyRegister a NEW taxonomy (Genre, Region…) attached to post types — stored by Fabrement, no third-party plugin. hierarchical cannot be changed later. list-taxonomies FIRST: a second taxonomy meaning the same thing splits the content. Fill it with create-term.
Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Taxonomy key: 1-32 chars, lowercase a-z 0-9 _ -, unique and not reserved. | |
| plural | No | Plural label (default: singular + "s"). | |
| public | No | Front-end term archives (default true). A design decision: true for terms visited as pages (then dress them via "tax:*" contexts), false for terms that only filter blocks internally. | |
| rewrite | No | URL base for term archives (default: slug). | |
| singular | Yes | Singular label, e.g. "Genre". | |
| postTypes | No | Post types this classifies (from list-post-types). Each must exist. | |
| showInRest | No | Expose in REST / the block editor (default true). | |
| hierarchical | No | true = categories (parents, checkboxes); false = tags. Immutable after creation. | |
| showAdminColumn | No | Show a column in the post list table (default true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxonomy | Yes |