Template parts keep repeated site structure, such as headers and footers, consistent across several templates. Reuse the same part when changes should propagate, and create a separate named part only for a deliberate structural variation.
IN THIS ARTICLE
01 Choose the sharing boundary
List the templates that should use the same header or footer. A landing page may intentionally need a simpler version, while normal pages and posts may share the standard version. Avoid copying identical blocks into every template, which makes future contact or navigation updates easy to miss.
Template parts describe site structure. Reusable content inside an article, such as a standard notice, may be better represented by a synced pattern.
02 Insert an existing part
- Open the target template in the Site Editor.
- Insert or select the relevant Template Part block and choose the existing named part.
- Check its placement around the dynamic page content.
- Review any surrounding containers that affect width, background or spacing.
- Save the template and inspect the public page.
Which templates change when I edit a shared template part?
Before changing the part itself, identify representative templates that reference it. A local preview can make a shared edit look limited to the current page. Review the save panel to see whether a template part, navigation menu or global style is included.
When a genuine alternate design is needed, create a clearly named separate part and assign it only to the appropriate templates. Document which version is standard and which is exceptional.
03 Verify consistency
Check a page, post, archive and search result where relevant. The same part can inherit surrounding styles differently, so verify colours and spacing in each context. Test links and mobile navigation after a shared header change.
If one template still shows an old footer, inspect whether it contains a copied group of blocks or references a different part. Correct the relationship rather than manually retyping the new details. Before deleting a part, replace its references deliberately; removing the library object can affect more pages than the one currently open in the editor.