In web development, we use Model-View-Controller architecture to separate different aspects of the sites into their own layers. The Model layer is intended to manage the data and the business logic of the application. In WordPress development, it's difficult to use such architecture in its original form. However, modeling data and logic is important for any kind of a website. So, we use built-in custom post types, and custom forms to manage the data capturing process in WordPress.
In this chapter, we are going to explore the importance and use of custom post type features in custom development tasks. We will be building a new custom post type to handle the properties in a real estate listing website, while using the most important features such as taxonomies, custom fields, and template loading. By default, custom post...