This kind of block is similar to Query Loop Builder but it’s used to retrieve values from repeatable blocks and related items from post itself rather than making loop of post items.
Here is just few examples where it can be used
- Attaching repeatable offers to Product pages
- Attaching related items from other post types (accessories, reviews)
- Attaching related items from the same post type
- Making cross links between different post types
- Listing repeatable items or attached Groups from custom fields
- Rendering data from ACF repeater fields and repeater field types of third party plugins
- Rendering Relationship type of fields
This block supports Arrays, multi-dimensional arrays of data, arrays of post objects and single post object. Next types are available for data storage
- ACF Repeater field
- Arrays that are saved in custom fields (repeater, groups)
- Relationship Post objects (for example, ACF related posts which are saved as post objects
- Relationship Post Ids (for example, ACF related posts which are saved as post ids)
Design options from Query Builder are also supported. You can set column numbers, merge, span columns, add borders, shadows, spacing, colors, etc.
You can also convert repeatable items to slider.
The principles of work for repeater builder are very simple. You select the field where you store your repeater data, then, click to edit your grid and add/map your blocks with auto-detected data from fields.
Inside repeater builder you can use any blocks, but there are some dynamic blocks which support retrieving repeated values
- Dynamic Title (for titles)
- Dynamic Image (for image)
- Meta getter (universal block for getting different kind of data. it has also support for custom prefix, postfix, icons, data conversion to different formats).
- Progress bar (in scenarios if you want to format data as lines, circle bars, etc)
- Video block
- Gallery Block
- Repeater builder (for nested repeater fields)
This block can be used also inside Query Builder so you can make nested loops inside your items.
Check video