Display an image to represent this site. Update this block and the changes apply everywhere.
Attributes
Defined via the attributes property in block.json.
| Attribute | Type | Default | Description |
|---|---|---|---|
width |
number |
— | — |
isLink |
boolean |
true |
Role: content |
linkTarget |
string |
"_self" |
Role: content |
shouldSyncIcon |
boolean |
— | — |
Supports
Defined via the supports property in block.json.
anchor:truehtml:falsealign:truealignWide:falsecolor:text:falsebackground:false
spacing:margin:truepadding:true
interactivity:clientNavigation:true
filter:duotone:true
Block Styles
Defined via the styles property in block.json.
| Style Name | Label | Default |
|---|---|---|
default |
Default | Yes |
rounded |
Rounded | No |
CSS Selectors
Defined via the selectors property in block.json.
- filter:
- duotone:
.wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before
- duotone:
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-logo /-->
Source
- block.json (reference)
- Source directory — browse
edit.js,save.js,index.php, and more.