For the complete documentation index, see llms.txt. This page is also available as Markdown.

Nestable fields

For an overview of the Query Loop feature, refer to the official GenerateBlocks Loop documentation.

Pull the data from a repeater field

Select the GeneratePress Query block, then follow these steps:

  1. To fetch a repeater field from a post type, choose Post Meta as the Query Type and select the corresponding meta key (the repeater field).

  2. To retrieve data from a repeater field in an options page, choose Option as the Query Type and enter the meta key using this format: {page_slug}_{boxname}_{fieldname} Example: page_meta_repeater

Render the loop elements

Finally, inside the loop item element, insert a Text block and choose Loop Item in the dynamic tags menu. The available keys are shown in a select box. Select the desired field:

And this is the final result:

List fields

List fields store an array of simple string values and can be looped exactly like repeater fields.

Select the GenerateBlocks Query block, set the Query Type to Post Meta, and enter the list field's meta key (e.g. aa_lista). The Looper will iterate over each item in the list:

Inside the Loop Item element, add a Text block and bind it to the {{loop_item}} dynamic tag to render each value.

Last updated