用几句话描述这个网站是关于什么的。这对于搜索结果、社交媒体分享以及为访客提供整体清晰度非常重要。
属性
通过块.json 中的 attributes 属性定义。
支持功能
通过块.json 中的 supports 属性定义。
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
块标记
这是一个 动态块。它在服务器上渲染,不会在帖子内容中保存 HTML。
在帖子内容中,它存储为块注释:
<!-- wp:site-tagline /-->
来源
- block.json (参考)
- 源代码目录 — 浏览
edit和save源文件、index.php等。