Custom Post Types and Taxonomies: Structuring Content That Scales

When a site only uses posts and pages, everything ends up as a page with a long block of text. Finding anything becomes hard, and listing pages turn into manual work. Custom post types and taxonomies fix that.
Post types are for things, taxonomies are for groupings
A simple rule I use: if it has its own page and its own fields, it is a post type. If it groups other content, it is a taxonomy. Projects, events and resources are post types. Topics, regions and programme areas are taxonomies.
Register them in a plugin, not the theme
Content should survive a redesign. If post types live in the theme, switching themes makes all that content disappear from the admin. I put them in a small plugin or a must-use plugin.
register_post_type( 'resource', array(
'label' => 'Resources',
'public' => true,
'has_archive' => true,
'show_in_rest' => true,
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
) );
Share taxonomies across post types
On the Gender at Work site, reflections, podcasts, resources and projects all share the same programme area taxonomy. One tag connects everything, so a visitor reading about one project can find every related podcast and publication automatically.
Think about the listing pages first
Before adding fields, ask how people will browse the content. Do they filter by topic? By year? By region? Those answers tell you which taxonomies and fields you need, and which ones you can skip.
Content modelling checklist
- List every type of content and how it is browsed
- Decide what needs its own page
- Choose shared taxonomies for cross-linking
- Keep fields to what editors will really fill in
A little planning here makes every later feature, from search to related content, much easier to build.