Clanbite Players

<!-- 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

AttributeTypeDefaultValues
showCodebooleanfalse
countryDisplaystringboth
flagFirstbooleantrue

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