# blockenberg/2.0.14/blocks/user-field/block.json

Blockenberg — 600+ Advanced Gutenberg Blocks &amp; AI Agent for WordPress Block Editor, version 2.0.14. 81 lines.

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.14/code/blocks/user-field/block.json
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.14/raw/blocks/user-field/block.json
- Modified: 2026-10-11T14:39:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockenberg/2.0.14/code/blocks/user-field/block.json#L10-L20`.

```json
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "blockenberg/user-field",
    "title": "User Field",
    "category": "bkbg-blog",
    "icon": "admin-users",
    "description": "Show a field from the logged-in user’s WordPress profile (first name, display name, email, and more). Guests see an optional fallback.",
    "keywords": [
        "user",
        "profile",
        "first name",
        "logged in",
        "member",
        "account",
        "greeting"
    ],
    "textdomain": "blockenberg",
    "editorScript": "bkbg-user-field-editor",
    "style": "bkbg-user-field-style",
    "supports": {
        "html": false,
        "anchor": true,
        "className": true,
        "align": [
            "wide",
            "full"
        ]
    },
    "attributes": {
        "field": {
            "type": "string",
            "default": "first_name"
        },
        "prefix": {
            "type": "string",
            "default": ""
        },
        "suffix": {
            "type": "string",
            "default": ""
        },
        "guestFallback": {
            "type": "string",
            "default": ""
        },
        "hideWhenEmpty": {
            "type": "boolean",
            "default": true
        },
        "hideForGuests": {
            "type": "boolean",
            "default": false
        },
        "htmlTag": {
            "type": "string",
            "default": "span"
        },
        "textAlign": {
            "type": "string",
            "default": "left"
        },
        "textColor": {
            "type": "string",
            "default": ""
        },
        "fontSize": {
            "type": "number",
            "default": 16
        },
        "fontWeight": {
            "type": "string",
            "default": "400"
        },
        "typoText": {
            "type": "object",
            "default": {}
        }
    }
}

```
