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, ...

Get WordPress Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.