Skip to content
← All packages

Statamic Reverse Relationship

Traverse relationships in reverse in Statamic. If entry B points to A, let A see all the B's that reference it. No duplicated data, nothing to keep in sync.

In Statamic, relationships are one-directional. If a blog post references an author, you can get the author from the post. But getting all posts by an author requires a separate query or duplicating the relationship on both sides. Statamic Reverse Relationship solves this by letting you traverse any relationship in reverse.

Bidirectional Relationships

Fieldtype

Add to any blueprint. Displays related entries in the control panel and works like a native entries field in templates. No custom code needed.

Antlers Tag

Query reverse relationships from templates without blueprint changes. Perfect for one-off queries or dynamic listings.

Editable Mode

Attach and detach related entries directly from the control panel. Changes are saved to the source entry, maintaining a single source of truth.

Lazy Query Builder

Limit, sort, paginate, and count results. Queries are lazy-loaded to avoid performance issues with large datasets.

Single source of truth

The key principle: data is never duplicated. If entry B references A, the reverse relationship is computed at query time by scanning for entries that reference A. This means you never have stale or out-of-sync relationships, and there is nothing to migrate or maintain.

Three modes

Works with entries, taxonomy terms, and assets. If any content type references another, you can traverse the relationship in reverse.