<!-- wp:clanbite/player-country /-->Displays the player country on player profile and roster templates.
Dynamic
- Block name
clanbite/player-country- Title
- Player country
- Category
clanbite-players- Uses context
postId,postType,clanbite/playerId
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/player-country /-->Defined in src/blocks/players/player-country/block.json