Choosing between a custom post type, taxonomy, and custom field is a content-modeling decision, not just a coding task. This practical checklist explains how to structure WordPress content, compare URL and editorial implications, register a model safely, and review it before publishing or migrating an existing site.
Overview
WordPress gives you several ways to store and organize information. Standard posts and pages are often enough for a simple site, but a growing content library may need a clearer model. The key is to give each piece of information the right job.
- Use a custom post type when a content object has its own editing workflow, template, archive, permissions, or relationship to other content. Examples include courses, events, properties, team members, or case studies.
- Use a taxonomy when you need to classify multiple items by shared terms. Categories, topics, locations, formats, and product types are typical examples. A taxonomy can be hierarchical, like regions and subregions, or non-hierarchical, like tags.
- Use a custom field when the information describes one item rather than grouping items. An event date, venue address, speaker name, download URL, or price is usually field data.
A useful decision tree is: Does this deserve its own content workflow and archive? If yes, consider a custom post type. Will editors assign the same value to many items and browse by it? If yes, consider a taxonomy. Is the value a property of one item? Use a custom field. Some models need all three: an Event post type, a Location taxonomy, and fields for the start time and registration URL.
URL and editorial comparison
| Model | Best for | Typical URL pattern | Editorial question |
|---|---|---|---|
| Custom post type | A distinct content object | /events/spring-workshop/ | Does this need its own archive and template? |
| Taxonomy | Shared classification | /event-location/london/ | Will readers browse or filter by this term? |
| Custom field | Structured attributes | Usually no public archive | Is this value meaningful only within its parent item? |
URL structures are design decisions, not a substitute for a content model. Confirm the desired permalink behavior before publishing, especially if the site already has indexed URLs.
Checklist by scenario
Scenario 1: You are launching a new content section
- Write down the nouns in the publishing plan: events, speakers, locations, courses, or products.
- Separate objects from attributes. “Speaker” may be a post type if speakers have biographies and archives; “speaker email” is more likely a custom field.
- List the editorial actions: create, edit, filter, relate, schedule, feature, and archive.
- Decide whether the content needs a public archive, single template, REST API access, or block editor support.
- Choose stable, singular internal names and human-readable labels before writing registration code.
Scenario 2: You are registering a custom post type
Register post types from a plugin or site-specific functionality layer when the content should remain available if the theme changes. A minimal example looks like this:
add_action( 'init', function () {
register_post_type( 'course', array(
'labels' => array(
'name' => 'Courses',
'singular_name' => 'Course',
),
'public' => true,
'show_in_rest' => true,
'has_archive' => true,
'rewrite' => array( 'slug' => 'courses' ),
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
) );
} );The example enables the block editor and REST visibility through show_in_rest. Add only the supports and visibility settings the workflow actually needs. After changing rewrite settings, visit Settings > Permalinks and save once to refresh rewrite rules in a controlled environment.
Scenario 3: You need shared classification
Use a taxonomy when a term has value across multiple entries. For example, a course site could classify courses by difficulty or subject. Decide whether terms should have parent-child relationships and whether the taxonomy belongs to one post type or several.
add_action( 'init', function () {
register_taxonomy( 'course_level', array( 'course' ), array(
'labels' => array(
'name' => 'Course levels',
'singular_name' => 'Course level',
),
'public' => true,
'hierarchical' => true,
'show_in_rest' => true,
'rewrite' => array( 'slug' => 'course-level' ),
) );
} );Scenario 4: You are modeling fields
Make a field list before selecting a field plugin or building a custom metabox. Record the field name, data type, required status, validation rule, display location, and fallback behavior. Dates should have a consistent storage format; URLs should be validated; repeatable data should not be forced into a single text field. A custom field plugin can speed up administration, while custom code may be appropriate when the data model is small and tightly controlled.
What to double-check
- Names: Use a unique post type and taxonomy key, keep keys stable, and avoid changing slugs after content is public. Human-readable labels can change more safely than internal identifiers.
- Relationships: Confirm whether a taxonomy applies to one post type or several. If two content objects must be connected, document whether the relationship is one-to-one, one-to-many, or many-to-many.
- Editor experience: Test the block editor, featured images, excerpts, revisions, autosaves, and required fields with the actual editorial roles.
- Templates: Check the single view, archive view, taxonomy archive, empty states, pagination, breadcrumbs, and mobile layout. Block themes may use templates and
theme.json; classic themes may rely on template files and hooks. - REST and integrations: If an external application or block needs the content, verify
show_in_rest, permissions, exposed fields, and query behavior. Review the WordPress REST API tutorial before building an integration. - Search and SEO: Decide which archives should be indexable, how titles and descriptions are generated, and whether thin or duplicate taxonomy pages should be restricted by your SEO workflow.
- Migration: Export a backup, test on staging, map old URLs to new URLs, and keep a record of renamed post types, taxonomies, and fields. Never assume a field plugin migration will preserve every display rule automatically.
Common mistakes
Creating a post type for every label. A post type adds an editorial and template boundary. If the item has no separate workflow or public identity, a taxonomy or field may be simpler.
Using taxonomies for changing attributes. If a value is unique to one item, changes frequently, or should not have an archive, it is probably field data. Conversely, storing a shared classification as free text creates spelling variations and weak filtering.
Changing keys after publishing. Internal keys are referenced by queries, templates, imports, and integrations. Choose them carefully and plan a migration if a change is unavoidable.
Registering content only in a theme. This can make content disappear from the expected editing interface when the theme changes. Put durable content definitions in a plugin or site-specific functionality layer, then test theme-independent behavior.
Skipping staging and URL checks. A model can work in the editor while producing broken archives, unexpected queries, or conflicting slugs. Test representative content, not just an empty post type.
When to revisit
Review the model before a seasonal planning cycle, a major redesign, a change in editorial ownership, or the addition of a new integration. Revisit it when editors create workarounds, duplicate fields, use inconsistent terms, or maintain spreadsheets that WordPress should be managing.
Use this short audit:
- List every post type, taxonomy, and custom field currently in use.
- Identify unused, duplicated, or inconsistently populated data.
- Compare the public URL structure with the current navigation and search needs.
- Test representative queries, archives, REST responses, and templates after WordPress, plugin, or theme changes.
- Document proposed migrations and test redirects before changing public slugs.
For related implementation work, pair this content-modeling checklist with the WordPress update testing checklist and the guide to diagnosing plugin conflicts. A clear model is valuable, but it stays maintainable only when registration code, templates, integrations, and publishing workflows are reviewed together.