Header – core/template-part

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.

Use the Header template in the Site Editor to create a header area.




  • Use the Header variant in a page template that displays a header.
  • Either choose an existing template part to be displayed or construct a new one using the relevant blocks.
  • You can create multiple headers for use on different templates.
  • The Header variant set the area attribute to header.
  • See also Footer variant.