Chapter 3: Content Organization and Relationships

Having planned your WordPress project and identified exactly what you will building and how you will approach it, the next step is to plan how you will handle site content. It's worth taking some time for this—as you'll know, WordPress uses different types of content and different kinds of metadata, and getting this right before you start to code will save you a lot of headaches and some potential rework further down the line.

In Chapter 2 you looked at a basic content planning grid, which serves to identify the key content in a site and assign content types to it. In this chapter you will learn how WordPress stores content in detail and identify ways in which you can harness and build on core capabilities to make your content work for you. By the end of this chapter you will be familiar with the following topics:

Rationalizing your content—How to identify the structure of your site's content, breaking each part of the site into content types and looking at device-specific content where that's needed

How WordPress stores content—An overview of the main content types and where they are stored in the database

Custom post types—When to use them, how to set them up, and how to get the most from them

Post data—When to use categories, taxonomies, and tags, as well as assigning custom fields and post metadata

Media and attachments—How WordPress stores and displays these, plus how to leverage thumbnails (or featured images) ...

Get WordPress: Pushing the Limits now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.