I’m working with the generate blocks and I’m completely lost how to integrate ACF Repeater fields. I know ho to do it with other ACF like text / Headline and so on (Enable Dynamic Data, Data Source “Current post”, Content Source “Post meta”, Post Meta field “field name”…
But I really don’t have any idea how the repeater field works?
Can you give me a hint?
Thank you and best,
its not currently possible to use Repeater Fields with GB.
we have plans to add support for it once we figure out a future proof method of doing so,
Thank you, David.
Is there another way (for example using PHP scripts, non-GenerateBlocks-Code) to be able to use the repeater fields. Or is it generally impossible with GenerateBlocks?
It’s not possible with GB. You’ll need to follow ACF’s instructions here: https://www.advancedcustomfields.com/resources/repeater/
You can hook PHP code through a Hook Element, and if you want to hook it inside a specific location for instance, you need to create a Portble Hook.
Creating a Portable Hook: https://generate.support/topic/create-a-shortcode-for-an-element/#post-38707
- You must be logged in to reply to this topic.