Use case
Check where WordPress patterns, template parts, and shared references are used before updating them
When a pattern, template part, or shared navigation changes, the real risk is not the definition alone. The real risk is every page, template, or shared source that already depends on it.
Problem statement
Patterns, template parts, navigation structures, and other shared entities can affect far more of a site than expected when the team does not separate the shared definition from the places that currently reference it.
For the broader workflow map, browse WordPress Gutenberg Block Audit & Refactor Use Cases .
Product path
In DXM Block Toolkit, this usually starts by separating the shared definition from its references before preview or rollout planning begins.
Patterns or Template Parts -> View sources -> Refactor Target -> Impact review or Preview diff
When this matters #
This workflow matters when a shared pattern, template part, or navigation change could ripple beyond a single page edit.
- A pattern, template part, or navigation item is about to change and the team needs to understand downstream references first.
- A WordPress team needs to decide whether to update the shared definition or only selected sources that reference it.
- A redesign or cleanup could affect reusable content and site chrome as well as posts and pages.
- Release planning needs a clearer view of how shared structures are distributed across the site.
Why manual work is risky #
Shared structures are risky to review manually because their impact is usually indirect.
- Looking only at the shared definition does not reveal which sources depend on it today.
- Changing a definition when only a subset of references should move can widen the impact too much.
- Treating shared-entity work like a normal page edit makes preview and QA harder to reason about.
How DXM Block Toolkit helps #
DXM Block Toolkit helps teams check both the shared definition and its reference footprint before they update either one.
- Inventory and source review help distinguish the shared definition from the sources that depend on it.
- Source-backed evidence reveals the blast radius of changing a pattern, template part, navigation structure, or similar shared entity.
- Refactor mode selection keeps entity_definition and entity_reference work separate so preview and apply stay explicit.
- Teams can review shared structures alongside normal content sources instead of treating them as invisible implementation details.
Concise workflow #
A concise impact-check workflow keeps definition changes and reference changes clearly separated.
- Run a fresh scan and identify the shared pattern, template part, navigation structure, or similar entity involved in the change.
- Review the current definition and the exact sources that reference it.
- Decide whether the change belongs at the shared definition level or only at selected references.
- Use the matching Refactor mode or review workflow so preview, apply, and validation align with the intended boundary.
- Share the source-backed impact list with the team before implementation or rollout starts.
If you need the operational steps, continue with How to Choose the Right Refactor Mode .
Related use cases #
Use a related workflow when shared-structure review becomes broader usage discovery, redesign impact analysis, or controlled replacement work.
Discovery workflow
Find Block Usage
Turn questions like “where is this CTA used?” into an exact source-backed list across posts, pages, custom post types, patterns, template parts, and navigation.
Find where Gutenberg blocks are used across WordPressRedesign impact
Audit Before Redesign
Review where blocks, shared structures, and design variants appear before a redesign changes markup, classes, layout, or styling.
Audit Gutenberg block usage before a WordPress redesignControlled replacement
Replace Blocks Safely
Preview, review, and apply block replacements across existing content with explicit scope, batch history, and rollback-aware checkpoints.
Safely replace Gutenberg blocks across WordPress content