Site Tagline
目录
Describe in a few words what this site is about. This is important for search results, sharing on social media, and gives overall clarity to visitors.
- Name:
core/site-tagline - Category: theme
- API Version: 3
- Block Type: Dynamic (server-rendered)
- Keywords:
description
Attributes
Defined via the attributes property in block.json.
| Attribute | Type | Default | Description |
|---|---|---|---|
level |
number |
0 |
— |
levelOptions |
array |
[0,1,2,3,4,5,6] |
— |
Supports
Defined via the supports property in block.json.
anchor:truealign:"wide","full"html:falsebackground:backgroundImage:truebackgroundSize:truegradient:true
color:gradients:true
contentRole:truedimensions:minHeight:trueminWidth:true
spacing:margin:truepadding:true
typography:fontSize:truelineHeight:truetextAlign:truefitText:true
interactivity:clientNavigation:true
shadow:true
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-tagline /-->
Source
- block.json (reference)
- Source directory — browse the
editandsavesource files,index.php, and more.