WordPress Custom Post Types

WordPress Custom Post Types Explained

In this tutorial, we look at WordPress custom post types:

  • What custom post types are
  • How custom post types differ from default post types
  • How custom post types can give your site unlimited expansion possibilities.

We’ll begin by looking at how custom post types differ from default post types.

Custom Post Types vs Default Post Types

WordPress is a true Content Management System (CMS) in the sense that it not only allows you to manage content but to manage and display different types of content.

For simplicity’s sake, let’s call the most basic unit of content stored in the WordPress database a post.

WordPress can hold and display a number of default post types.

The default post types most WordPress users are familiar with are posts and pages.

If you need help understanding the difference between posts and pages, see this tutorial: WordPress Posts vs WordPress Pages Explained.

The most common WordPress post types.
Posts and pages are the most common WordPress post types.

WordPress, however, has additional default post types it uses to store and manage the types of content it needs to perform various built-in functions.

Default WordPress post types.
Default WordPress post types.

WordPress default post types include:

  • Post – This is the post type typically used in blogs, web articles, and RSS feeds. Regular posts normally displayed in reverse chronological order (i.e. newest posts first).
  • Page – A page is like a post, but it lives outside the normal time-based listings of posts. Pages can use different page templates and be organized in a hierarchical structure (i.e. parent pages with nested pages). Pages normally cannot be assigned categories and tags. If permalinks are enabled, page permalinks comprise the main site URL and the slug of the page and/or parent pages. See WordPress Posts vs WordPress Pages for more information about the differences.
  • Attachment – An attachment is a special post that holds information about a file uploaded through the WordPress media upload system, such as its description and name, image size, post thumbnails, image alt text, etc.
  • Revision – Revision posts store draft posts and past revisions of a published post.
  • Navigation Menu – Navigation Menu is a type of post that holds information about a single item in the WordPress navigation menu system.
  • Custom CSS – Custom CSS is a theme-specific post used to store CSS saved from the “Additional CSS” screen of the WordPress Theme Customizer.
  • Changesets – Changesets is a post type similar to auto-saves but specifically for the Theme Customizer. If you’re making changes to your theme through the Customizer and something happens, this post type can help you restore your unsaved changes.

You can learn more about WordPress default post types in the official WordPress Codex.

Custom Post Types

In addition to the default post types shown above, WordPress also lets you (i.e. developers) create new post types for specific purposes.

WordPress lets you create custom post types.
WordPress lets you create custom post types.

Some examples of custom post types include:

  • Products
  • FAQs
  • Forms
  • Testimonials
  • Portfolios
  • Recipes
  • Directory Listings
WordPress custom post types.
WordPress custom post types.

Custom post types are normally added to WordPress when you install plugins or themes designed to help you perform specific purposes.

For example, if you run an eCommerce website, you can add new products to your site through a ‘product’ post. This is a custom post type specifically designed to store and display information about products (e.g. product name, product description, product image, pricing, availability, etc.)

Custom post type: Product
Custom post type: Product

Additional custom post types include FAQs…

Custom post type: FAQ
Custom post type: FAQ


Custom post type: Forms
Custom post type: Forms


Custom post type: Testimonial
Custom post type: Testimonial

Portfolio items

Custom post type: Portfolio
Custom post type: Portfolio


Custom post type: Recipe
Custom post type: Recipe

Directory listings

Custom post type: Listing
Custom post type: Listing

And more!

With WordPress, there is no limit to the types of content you can create, store and display on your website.

If you can’t find a plugin or theme that will give the type of content you need, you can always ask a web developer to code or customize a custom post type for your website.

WordPress Custom Post Types – FAQs

Here are frequently asked questions about WordPress custom post types:

What are WordPress custom post types?

WordPress custom post types are content types that allow users to define different types of content separate from regular posts and pages. They enable you to organize and display various kinds of content, such as portfolios, testimonials, products, etc.

How do I create custom post types in WordPress?

You can create custom post types in WordPress using code or plugins. Using code, you would typically add custom post types to your theme’s functions.php file or create a custom plugin. Alternatively, you can use plugins like Custom Post Type UI to create and manage custom post types through the WordPress admin interface.

Can I customize the fields in custom post types?

Yes, you can customize the fields in custom post types by adding custom meta boxes or fields using plugins or by coding them yourself. Plugins like Advanced Custom Fields or Meta Box allow you to easily add custom fields to your custom post types without writing code.

Are there any plugins available to help with FAQ creation using custom post types?

Yes, plugins like Ultimate FAQ offer features specifically designed for creating FAQs using custom post types in WordPress. These plugins often provide easy-to-use interfaces and various customization options to create and manage FAQs efficiently.

Can I use custom post types with the Gutenberg editor?

Yes, custom post types can be used with the Gutenberg editor. Gutenberg provides support for custom post types, allowing you to create and edit content using blocks within the WordPress editor. Additionally, some plugins may offer Gutenberg blocks specifically tailored for custom post types.


Hopefully, now you have a better understanding of what custom post types are and how they are used in WordPress.

Custom post types give you unlimited ways to expand your site's capabilities.
Custom post types give you unlimited ways to expand your site’s capabilities.


Print Friendly, PDF & Email

Updated: April 23rd, 2024

Terms Of Use | Privacy Policy

Scroll to Top