Clanbite Players

<!-- wp:clanbite/player-handle /-->

Displays the player’s @ handle (WordPress nicename) on profiles and in player loops — the taggable username form.

Dynamic

Block name
clanbite/player-handle
Title
Player @ handle
Category
clanbite-players
Uses context
postId, postType, clanbite/playerId

Attributes

AttributeTypeDefaultValues
textAlignstring

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,
    "align": true,
    "typography": {
        "fontSize": true,
        "lineHeight": true,
        "textAlign": true,
        "__experimentalFontFamily": true,
        "__experimentalFontStyle": true,
        "__experimentalFontWeight": true,
        "__experimentalLetterSpacing": true,
        "__experimentalTextDecoration": true,
        "__experimentalTextTransform": true
    }
}

Markup

<!-- wp:clanbite/player-handle /-->

Defined in src/blocks/players/player-handle/block.json