<!-- wp:clanbite/team-country /-->Displays the team country on single team templates.
Dynamic
- Block name
clanbite/team-country- Title
- Team country
- Category
clanbite-teams- Post types
clanbite_team- Uses context
postId,postType
Attributes
| Attribute | Type | Default | Values |
|---|---|---|---|
showCode | boolean | false | |
countryDisplay | string | both | |
flagFirst | boolean | true |
Supports
{
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"shadow": true,
"color": {
"text": true,
"background": true
},
"html": false
}Markup
<!-- wp:clanbite/team-country /-->Defined in src/blocks/teams/team-country/block.json