Support

Account

Home Forums ACF PRO How can i use Block.json

Unread

How can i use Block.json

  • Hello,

    Can someone help me please. I really need help.

    {
    “name”: “sample-block”,
    “title”: “Sample Block”,
    “description”: “An example custom ACF block.”,
    “category”: “formatting”,
    “acf”: {
    “mode”: “preview”,
    “renderTemplate”: “blocks/sample-block/sample-block.php”
    }
    }

    Based on above, i have a group field name specification, does it mean i have to name my field group as <specification-block> in block.json? so what if i just want to render out one by one in 1 line of paragraph, do i need to create all block like a above for all field? I have no clue at all.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.