Code Generator

Export SiteNivo post types and taxonomies as clean register_post_type() / register_taxonomy() PHP with no SiteNivo runtime dependency.

Where to find it

SiteNivo → Code Generator

Tabs

  • Post Types — generate PHP for selected CPTs
  • Taxonomies — generate PHP for selected taxonomies
  • Combined — all active CPTs + taxonomies in one snippet

How to use

Select items

Pick one type or use “Code for All…” where available.

Copy the PHP

Paste into your theme’s functions.php or a small custom plugin.

Deploy carefully

Only remove SiteNivo registration for those types after the exported code is loading on every request.

Field groups are separate

Code Generator exports CPT/taxonomy registration — not field group definitions. Keep SiteNivo active for fields, or migrate fields another way.

Related docs

Custom Post Types · Taxonomies