Skip to content
Ultivo Toolkit 1.0 is here! Get 10% off your first year with LAUNCH10 until September 30. See pricing
Documentation menu

Post types, taxonomies & options pages

Registering from the admin#

Ultivo Toolkit → Post Types (and Taxonomies, Options Pages) let you register content types without writing PHP. Each definition (labels, visibility, hierarchy, archive, taxonomies to attach, REST support, and a dashicon picker for the menu icon) is stored the same way field groups are: one entry per definition, published like a post. Registered post types and taxonomies show up immediately as real register_post_type() / register_taxonomy() calls, so field groups can target them with the normal location rules.

Registering in code#

Options pages can also be registered from code with ultivo_add_options_page(). See Options, users & terms for both the string and array forms. Post types and taxonomies registered from the admin stay database-defined; the Tools export/import (JSON or PHP) applies to field groups only, not to post type, taxonomy or options page definitions.

REST#

A field group exposes its fields in the REST API by enabling Show in REST on the group. Fields from that group then appear under a ultivo key in the REST response for posts of the matching post type, alongside the built-in id, title, and content fields.