Template Part – core/template-part

Edit the different global regions of your site, like the header, footer, sidebar, or create your own.
Header – header
The header template defines a page area that typically contains a title, logo, and main navigation. Since it’s a global element it can be present across all pages and posts.
Footer – footer
The footer template defines a page area that typically contains site credits, social links, or any other combination of blocks. Since it’s a global element it can be present across all pages and posts.

Use the Template Part block in a Full Site Editing theme.

Screenshot

Example

Here the template part is Breadcrumbs.

Here the template part is Category description. Some of the blocks in this template part only work on Archive pages. You may see a green background or nothing at all. There’s a separator before and after.



Notes

  • The Template Part block is a Full Site Editing block.
  • It’s normally used in block templates, which are part of a Full Site Editing theme.
  • Insert the template part block then choose an existing template part or create a new one.