Chapter 4: The Power of Custom Post Types

Building on its history of openness and ease of use, WordPress reached new heights in customization when it introduced custom post types.

Custom post types are a new category of items that are created by using the WordPress API and that appear in the WordPress administration interface as completely new sections, next to the default Posts and Pages sections. These custom items can be used to store any type of information, including events, bug reports, recipes, movie reviews, and many more.

When using custom post types to implement this kind of functionality, developers can take advantage of WordPress' internal content editing capabilities, including its powerful text editor and user-friendly media uploader. ...

Get WordPress Plugin Development Cookbook - Third Edition 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.