Site Title

In this article


Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.

  • Name: core/site-title
  • Category: theme
  • API Version: 3
  • Block Type: Dynamic (server-rendered)

Attributes

Defined via the attributes property in block.json.

Attribute Type Default Description
level number 1
levelOptions array [0,1,2,3,4,5,6]
isLink boolean true Role: content
linkTarget string "_self" Role: content

Supports

Defined via the supports property in block.json.

Block Markup

This is a dynamic block. It is rendered on the server and does not save HTML in post content.

In post content, it is stored as a block comment:

<!-- wp:site-title /-->

Source