# Display Nested Repeater Fields

In this document we make use of the Repeater field type which is an ACF Pro field as well as the Advanced Views Pro Parent Group and Parent field feature.

### a) Create a new *Layout* ('Primary')

1. On the Fields tab, click the 'Add field' button.
2. Choose the repeater field.
3. Switch to the 'Sub-fields' tab in the row.
4. Add all the sub fields you want to display.
5. Continue adding more fields if you'd like.
6. Save the current *Layout*.

### b) Create another new *Layout* ('Internal'):

1. On the Fields tab, choose your Group in the 'parent group' field.
2. In the Parent field, select the 'repeater sub-field' from the previous step.
3. Click the 'Add field' button and assign all the sub-fields you want to display.
4. Save the current *Layout*.

### c) Amend the 'Primary' *Layout*:

1. Edit your Primary *Layout*.
2. Find the 'repeater' field in the assigned field list.
3. Open the 'Sub-fields' tab and locate the target 'repeater' sub-field.
4. Select the Internal *Layout for the Field Layout*.
5. Save the current *Layout*.

**You're done!** Now you can copy the shortcode of the 'Primary' *Layout* and paste it into the target location.&#x20;

This enables you to create as many nested levels as needed. [Continue reading about Nested Repeaters](/advanced-views/display-content/meta-fields/layout-fields/repeater-pro.md#nested-repeaters)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wplake.gitbook.io/advanced-views/guides/display-nested-repeater-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
