# give/4.18.0/src/Campaigns/Blocks/Campaign/block.json

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 34 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/Campaigns/Blocks/Campaign/block.json
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/Campaigns/Blocks/Campaign/block.json
- Modified: 2025-12-08T20:09:52+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/give/4.18.0/code/src/Campaigns/Blocks/Campaign/block.json#L10-L20`.

```json
{
    "$schema": "https://json.schemastore.org/block.json",
    "apiVersion": 3,
    "name": "givewp/campaign-block",
    "version": "1.0.0",
    "title": "Campaign Block",
    "category": "give",
    "description": "Insert an existing campaign into the page.",
    "supports": {
        "align": ["wide", "full", "left", "center", "right"]
    },
    "attributes": {
        "campaignId": {
            "type": "number"
        },
        "showImage": {
            "type": "boolean",
            "default": true
        },
        "showDescription": {
            "type": "boolean",
            "default": true
        },
        "showGoal": {
            "type": "boolean",
            "default": true
        }
    },
    "textdomain": "give",
    "viewScript": "file:../../../../build/campaignBlockApp.js",
    "viewStyle": "file:../../../../build/campaignBlockApp.css",
    "render": "file:./render.php"
}

```
