Add New Post Type

To add a new post type, click on the “Add New” button on the “Post Types” screen.

Basic Settings

Name – This value is used by WordPress to identify this post type.

Plural Label – Label to represent multiple items.

Singular label – Label to represent a single item.

Status – Set the status to active or inactive.

Additional Labels

These are the different labels used by WordPress to display the post type in UI. Mouse over the help icon to know about each field.

You can auto populate these values from singular and plural labels by clicking on the “Auto Populate Labels” button.

Advanced Settings

Public – Whether the post type is intended for all users use or for internal use.

Hierarchical – You will be able to set a parent post to the posts created under this post type, like Pages.

Exclude From Search – Whether to exclude from front-end search results.

Publicaly Queryable – Whether the post type is queryable from the front-end request.

Show UI – Whether to create a UI in wp-admin to manage posts for the post type.

Show in Menu – Whether to display a wp-admin menu item. You can make the menu item a submenu by providing a parent menu slug in the textbox.

Menu Position – Provider a number to change the placement of the menu.

2 – Dashboard
4 – Separator
5 – Posts
10 – Media
15 – Links
20 – Pages
25 – Comments
59 – Separator
60 – Appearance
65 – Plugins
70 – Users
75 – Tools
80 – Settings
99 – Separator

WordPress core menu positions.

Menu Icon – Menu icon to be used. Provide a dashicon class or an image URL.

WordPress Dashicons

WordPress dashicon classes.

Show in Nav Menu – Whether to display the post type items in navigation menu editor.

Show in Admin Bar – Whether to display an item in the top admin bar.

Show in REST – Whether to include the post type in REST API. This must be true for the “block editor” to work.

REST Base – Slug used in REST URL.

REST Controller Class – PHP class used for REST controller.

Has Archive – Whether to include in archives. You can also provide an archive slug.

Supports – WordPress core attributes/sections to attach to the post type.

Custom Supports – Custom defined attributes/sections to attach to the post type.

Can Export – Whether to include the post type in export functionality.

Query Var – Query string variable to be used to identify the post type.

Delete with User – Whether to delete the posts created under this post type when the author record is deleted from WordPress site.

Taxonomies – The list of taxonomies to be attached to the post type.

Rewrite – Whether to rewrite the post URL.

Rewrite Slug – Rewrite slug to be used in URL.

Rewrite With Front – Whether to prepend with the “front” variable value.

Rewrite Feeds – Whether to rewrite feed URLs.

Rewrite Pages – Whether to rewrite pagination URLs.

Rewrite EP Mask – Rewrite mask value to be used.

Capability Settings

Capability Type – Provide a slug to customize the capabilities. You can also provide a comma separated value like “reply, replies”, to correctly set the singular and plural slug.

Map Meta Cap – Whether to map the meta capabilities. Setting this to true will give you more capabilities to work with.

Post type capability settings.

#PRO feature