A custom post type is a WordPress post type that you create. WordPress offers the following default post types:

However, these post types may not be a good fit for your content. For example, you may want to showcase products or a portfolio on your site. WordPress allows you to create custom post types that have custom fields and taxonomies.

There are two ways to make a custom post type:

  1. Use a plugin. You can use the Custom Post Type UI plugin. Note, however, that your custom post type will become unavailable in the Administration Area if the plugin is deactivated.
  2. Create it manually. Add code to your your theme’s functions.php file.