Clanbite Teams

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

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/team-country /-->

Defined in src/blocks/teams/team-country/block.json