<!-- wp:clanbite/team-members-count /-->Displays the number of roster members (excluding banned).
Dynamic
- Block name
clanbite/team-members-count- Title
- Team members count
- Category
clanbite-teams- Post types
clanbite_team- Uses context
postId,postType
Attributes
| Attribute | Type | Default | Values |
|---|---|---|---|
label | string | '' | |
prefix | string | '' | |
postfix | string | '' |
Supports
{
"spacing": {
"margin": true,
"padding": true,
"blockGap": true,
"__experimentalDefaultControls": {
"blockGap": true
}
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"shadow": true,
"color": {
"text": true,
"background": true
},
"html": false,
"layout": {
"allowSwitching": false,
"allowInheriting": false,
"default": {
"type": "flex",
"flexWrap": "wrap"
}
}
}Markup
<!-- wp:clanbite/team-members-count /-->Defined in src/blocks/teams/team-members-count/block.json