Inicio - Documentación - POM Theme - 05 Content models - Build structured content

Build structured content

POM Theme’s Content model turns recurring information into reusable WordPress structures. It can register custom post types, attach hierarchical taxonomies, add post fields, save query presets, and apply visibility rules to supported content.

Use these tools for information that must be entered consistently and reused across archives, templates, searches, or integrations. A one-off page section usually belongs in the Page Builder instead.

Recommended build order

  1. Decide whether the requirement needs a custom content model.
  2. Complete the content-model planning worksheet.
  3. Create the custom post type.
  4. Create and connect its taxonomies.
  5. Add only the required custom fields.
  6. Enter representative content before building templates or queries.
  7. Create reusable database query presets where a module needs a controlled content source.
  8. Add permission rules only when visibility varies by visitor.
  9. Configure optional custom post type URLs, taxonomy bases, and post URL hierarchies under Settings → Permalinks.

Know which structure answers which question

Requirement POM Theme structure
A separate collection with its own editor menu and single entries Custom post type
A browsable classification shared by entries Custom taxonomy
One additional value stored on an entry Custom field
A reusable set of content-selection arguments Database query
Conditional template visibility Permission rule
Single-entry or general archive URLs below a page Custom post type URL mode
Term archives below an existing page path Taxonomy archive page base
Single-entry URLs below a taxonomy hierarchy Taxonomy-based post permalink

Chapter contents

  1. Decide when to create a custom content model
  2. Plan a content model before building
  3. Create a custom post type
  4. Create a custom taxonomy
  5. Connect post types and taxonomies
  6. Create reusable custom fields
  7. Build reusable database query presets
  8. Control custom post type visibility with permission rules
  9. Change an established content model safely
  10. Configure custom post type URLs
  11. Place taxonomy archives below a page
  12. Place single entries below taxonomy terms