# activitypub/7.7.0/build/extra-fields/block.json

ActivityPub, version 7.7.0. 72 lines.

- Page: https://pluginprobe.com/plugins/activitypub/7.7.0/code/build/extra-fields/block.json
- Raw: https://pluginprobe.com/plugins/activitypub/7.7.0/raw/build/extra-fields/block.json
- Modified: 2025-12-03T16:32:00+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/activitypub/7.7.0/code/build/extra-fields/block.json#L10-L20`.

```json
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "name": "activitypub/extra-fields",
  "apiVersion": 3,
  "version": "1.0.0",
  "title": "Fediverse Extra Fields",
  "category": "widgets",
  "description": "Display extra fields from ActivityPub user profiles",
  "textdomain": "activitypub",
  "icon": "list-view",
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "gradients": true,
      "link": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true,
        "link": true
      }
    },
    "__experimentalBorder": {
      "radius": true,
      "width": true,
      "color": true,
      "style": true
    },
    "shadow": true,
    "typography": {
      "fontSize": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "styles": [
    {
      "name": "compact",
      "label": "Compact",
      "isDefault": true
    },
    {
      "name": "stacked",
      "label": "Stacked"
    },
    {
      "name": "cards",
      "label": "Cards"
    }
  ],
  "attributes": {
    "selectedUser": {
      "type": "string",
      "default": "blog"
    },
    "maxFields": {
      "type": "number",
      "default": 0
    }
  },
  "usesContext": [
    "postType",
    "postId"
  ],
  "editorScript": "file:./index.js",
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}
```
