Summary
In this chapter, we tackled the custom post types to learn their advanced usages within web applications. Generally, custom posts act as the core building blocks of any type of complex web application. We went through the basic code of custom post related functionality while developing the initial Projects post type of the portfolio management application.
We were able to explore advanced techniques such as autoloaders, modularizing custom post types, and template engines to cater to common web application requirements. Also, we had to go through the process of validating form data, which was tough due to the limited support offered by WordPress.
We learned the importance of relating custom post types using the Posts 2 Posts plugin. Finally, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access