While building some of the sites described in this and the previous chapter, you may stumble upon what's called custom post types. Or you may even decide to create them yourself for the purpose of your individual projects. But let's take it from the top. The custom post type functionality was added to WordPress in Version 3.0 because people wanted to be able to specify new objects.
The most commonly known objects are posts and pages, but there are actually already three other custom types in the WordPress backend: attachments, revisions, and navigation menus. However, if we feel that the situation/project calls for it, we can create any number of new post types by taking advantage of the custom post type functionality and its wide versatility.
For example, while building an e-commerce store using WooCommerce, you will find a new section in the WP Admin named Products (we talked about this in the previous chapter). These products are nothing else than a custom...