Connect Post Type Using Relations

1 min read

Relations let you connect different post types together;like “Products” to “Categories”, so related content stays linked without manual work. This guide shows you how to set it up step by step.

Build Relations #

Access your WordPress dashboard and go to Dynamic Engine.

Find Relations from More.

Find Relations from the More option

To craete a relation, click + add relation.

Click add relation

Quick setup field of relations.

Quick setup field of relations

Set a display name of the relation. For example, Author to Books.

Set a display name of the relation

Customize the Relation #

Connection:

  • Source kind: Choose whether the source object is a Post, Term, or User.
  • Source post type: Select which post type/CPT owns this relation from the source side, like, posts, pages, media, etc.
  • Target kind: Choose whether the target object is a Post, Term, or User.
Setup connections for a relation
  • Target post type: Select which post type/CPT sits on the other side of the relation.
  • Cardinality: Define how many items can attach, like One to One, One to Many, or Many to Many.
  • Bidirectional: Toggle to show the meta box on both source and target edit screens.
Image

Labels:

  • Source-side label: Text shown as the meta-box title on the source item’s edit screen.
  • Target-side label: Text shown as the meta-box title on the target item’s edit screen.
Setup labels for a relation

Limits:

  • Max from source: Maximum items each source post can attach (0 = unlimited)
  • Max from target: Maximum items each target post can be attached to (0 = unlimited)
Image

Hierarchy:

  • Inherit from parent: Lets the picker also show pairs attached to the item’s ancestors, rendered as locked chips.
  • Cascade to descendants: Auto-attaches the same pair to every descendant when set on a parent.
Setup hierarchy for a relation

Pair Custom Fields:

  • Add custom field: Attach extra data (notes, date, status, etc.) specific to each connection pair, shown as an input under every attached item in the meta box
Setup pair custom fields for a relation

Finally, click Create Relation.

Click Create Relation
Updated on September 21, 2026

What are your feelings

  • Happy
  • Normal
  • Sad