Tibi Content Model
Tibi content is managed through WordPress pages, custom post types, taxonomies, reusable blocks, and options.
Custom Post Types
Registered in packages/wordpress/plugins/tibi-core/inc/post-types/configurations.php.
| Slug | Admin label | Purpose | Public behavior |
|---|---|---|---|
tibi-temasak |
Temalister |
Thematic book lists. | Not public; exposed in REST and filtered by age group/platform. |
tibi-aktuell-bok |
Aktuelle bøker |
Current book entries. | Not public; exposed in REST and filtered by platform. |
brukerveiledninger |
Brukerveiledninger |
Legacy/user guide content. | Public WordPress content, included in older global search allowlist. |
tibi-topics-block |
Banner Tibi bibliotek |
Reusable locked banner/topic content. | Not public; editor template is locked to tibi/topic. |
tibi-bokanbefaling |
Bokanbefalinger |
Book recommendation entries. | Not public; exposed through Tibi REST endpoints. |
tibi-help |
Hjelpesider |
New hierarchical Help articles. | Public URL slug /hjelp; restricted from unauthenticated REST access by the access restriction class. |
tibi-faq |
Ofte stilte spørsmål |
New Help FAQ entries. | Public URL slug /ofte-stilte-sporsmal; restricted from unauthenticated REST access by the access restriction class. |
tibi-help and tibi-faq are listed in RESTRICTED_POST_TYPES. The restriction class redirects normal visitors from direct restricted contexts, sets Yoast robots to noindex, nofollow, excludes them from Yoast sitemaps, and restricts REST route access.
Taxonomies
Registered in packages/wordpress/plugins/tibi-core/inc/taxonomies.php.
| Slug | Admin label | Attached to | Notes |
|---|---|---|---|
tibi-aldersgruppe |
Aldersgrupper |
tibi-temasak, tibi-bokanbefaling, tibi-topics-block |
Editors can assign terms; term management is restricted. |
tibi-syndikering |
Plattformer |
tibi-temasak, tibi-aktuell-bok, tibi-bokanbefaling, tibi-topics-block |
Used as a publishing/platform filter in REST responses. |
hjelp-kategori |
Kategorier |
brukerveiledninger |
Legacy user guide categories. |
faq-category |
Kategorier |
t2-faq |
Legacy FAQ category with query var kategori. |
help-category |
Hjelpekategorier |
tibi-help, tibi-faq |
Hierarchical Help taxonomy; supports admin sort order. |
Help And FAQ
The new Help model is split into:
tibi-helpfor article-style pages with parent/child hierarchy and menu order.tibi-faqfor question/answer entries.help-categoryfor grouping and filtering both content types.
Help search, category filters, and pagination are documented in Tibi Search. Editor workflow is documented in Tibi Editor Workflows.
Book Content
Book-related editorial content is stored in private WordPress post types, then exposed to consumers through Tibi REST endpoints. Use tibi-aldersgruppe for audience targeting and tibi-syndikering for platform targeting. The external NLB API is used to resolve book metadata by edition/book number.
Banners And Notices
tibi-topics-block stores reusable banner/topic content for Tibi library surfaces. Site-wide notice settings are exposed through /wp-json/tibi/v1/settings/site-wide-notice.
Documentation Standard
For each content type, document:
- Slug and registration owner.
- Purpose.
- Important fields.
- Taxonomies.
- Templates or blocks that display it.
- REST/search exposure.
- Cache/indexing concerns.