Skip to main content

How to Create Post Types Using the UI Custom Post Type Plugin

Foxiz offers advanced support for fully customizable custom post types created through the UI Custom Post Type plugin.

Advanced Custom Fields works too. A post type made with either plugin gets its own section in Theme Options > Post Types. A post type registered in your own code or by any other plugin does not get that section.


How to Create a Custom Post Types:​

  1. Install and activate the plugin Custom Post Type UI

  2. Navigate to CPT UI > Add/edit post types and stay on the Add New Post Type tab.

    The Basic settings panel of CPT UI's Add New Post Type tab, with Post Type Slug, Plural Label and Singular Label

  3. In the Basic settings panel, enter the necessary information: Post Type Slug, which is required, then Plural Label and Singular Label. Do not click Add Post Type yet.

  4. Before you click it, open the Settings panel further down the same screen and check two things there, because Foxiz reads both.

    • Public has to be True. It already is unless you change it, and a post type that is not public gets no Single Post Type Settings box in its editor.

      The top of CPT UI's Settings panel, with Public set to True

    • If you want an archive page for it, set Has Archive to True. It starts on False. The Archive Header, Archive Template Shortcode and Archive Posts per Page fields Foxiz adds for this post type only do anything when that is set, which the fields' own help text says.

      Has Archive in CPT UI's Settings panel, set to True, with the archive slug box under it

  5. Click Add Post Type to create your custom post type. The button is at the end of Basic settings and again at the bottom of the screen.

  6. Once the type is saved, a for Post Type: section appears in Theme Options > Post Types carrying its name, and the box named Single Post Type Settings appears on each post of that type. Neither needs any further setup.

    The for Post Type: Recipes section Foxiz adds for a new post type, every field still at its default

  7. Your post type now has its own menu in the admin sidebar, named after its Plural Label, such as Recipes. Add its posts from there.

Next, give its posts a layout in Custom Post Type Layouts, and show them on a page with How to Display Custom Post Types and Taxonomy in Elementor Blocks.