• Hello! Comparing this to ACF, SCF, Pods, and hard-coded ways of achieving CPT and post_meta.

    Do you have any docs about using this plugin in conjunction with Block Binding attributes? Did not see anything in Docs on your site when searching for binding.

    For people building block themes in FSE, this is the future. Using plugins like yours (and the others listed above) to create post types & custom fields, but then connect the sources using the normal block editor/site editor.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can use any custom field by ensuring the fields are registered with the REST API.

    For Pods that means:

    • Pods Admin > Settings > Performance > Register meta fields > Enable
    • Pods Admin > Edit Pods > Edit your pod > REST API > Enable
    • Pods Admin > Edit Pods > Edit your pod > REST API > Show all fields (or edit the fields you want to make them available)
    • Pods Admin > Edit Pods > Edit your pod > REST API > Field Location > Include in the meta object

    Most plugins handle it differently from the UI or the code-based registration API they provide.

    BUT in all cases, right now there’s no ability to start linking a custom field from the UI in WordPress core as of 6.9.x — you have to use the custom field metadata markup manually by editing your content as code through the editor: https://make.ww.wp.xz.cn/core/2024/03/06/new-feature-the-block-bindings-api/#:~:text=custom%20fields%20support.-,Custom%20fields,-Importantly%2C%20in%20this

    Once you set it, you start to see the UI appear for how it works and the attribute on the block shows up with what it’s linked to — but there’s no way to change the field key or add one to a block from the editor UI in core.

    Thread Starter James Monroe

    (@jhmonroe)

    Hey @sc0ttkclark thanks!! Did you mean to post this here:
    https://ww.wp.xz.cn/support/topic/pods-block-bindings-documentation/

    (Sorry if all the cross-posting was confusing—I’m testing all the major CPT/Custom Field plugins with Block Bindings/Attributes over the last 48 hrs and tracking against Gutenberg tickets too)

    I posted this here just to help in case Meta Box team needed more context for how other plugins were approaching. I made a new doc for it with examples here too: https://docs.pods.io/code/block-bindings-api/

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.