Header – core/template-part

The Header template defines a page area that typically contains a title, logo, and main navigation.

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

Screenshot

Example


Notes

  • 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 sets the area attribute to header.
  • See also Footer variant.