CHAPTER 14

image

Custom Post Types, Taxonomies, and Fields

In the preceding chapters, I’ve shown you how to bend posts, pages, categories, and tags to your needs. However, these types of content aren’t always sufficient, and sometimes it’s just not feasible to have several kinds of content jumbled together under Posts.

In this chapter, I’ll show you how to use custom taxonomies to create separate groups of categories and tags for your existing content. Then I’ll show you how to create whole new post types. Last, I’ll show you how to extend post types (including posts and pages) with custom fields for even more flexibility. At the end of the chapter, ...

Get WordPress for Web Developers: An Introduction for Web Professionals 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.