<!-- wp:clanbite/team-name /-->Displays the team name (post title) on single team templates.
Dynamic
- Block name
clanbite/team-name- Title
- Team name
- Category
clanbite-teams- Post types
clanbite_team- Uses context
postId,postType
Attributes
| Attribute | Type | Default | Values |
|---|---|---|---|
level | number | 1 | |
textAlign | string | ||
isLink | boolean | false | |
linkTarget | string | _self | |
rel | string | '' |
Supports
{
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"shadow": true,
"color": {
"text": true,
"background": true,
"link": true,
"__experimentalDefaultControls": {
"link": true
}
},
"html": false,
"align": true,
"typography": {
"fontSize": true,
"lineHeight": true,
"textAlign": true
}
}Markup
<!-- wp:clanbite/team-name /-->Defined in src/blocks/teams/team-name/block.json