# Query Filters & Pagination: Support targeting nested Query Loops (Parent & Child Queries)

**URL:** <https://forum.bricksbuilder.io/t/query-filters-pagination-support-targeting-nested-query-loops-parent-child-queries/40468>\
**Category:** Feature Requests / Improvements\
**Created:** [October 1, 2026, 3:02pm UTC](https://forum.bricksbuilder.io/t/query-filters-pagination-support-targeting-nested-query-loops-parent-child-queries/40468 "2026-10-01T15:02:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Newbie](https://forum.bricksbuilder.io/u/Newbie)\
**Post date:** [October 1, 2026, 3:02pm UTC](https://forum.bricksbuilder.io/t/query-filters-pagination-support-targeting-nested-query-loops-parent-child-queries/40468/1 "2026-10-01T15:02:54Z")

</div>

**Feature Request:**

Allow **Query Filters** and **Pagination** elements to support multi-level/nested Query Loops, enabling them to independently target both outer (parent) and inner (child) queries.

**Use Case / Example Scenario:**

Imagine a layout where terms/categories are fetched first, and products/posts are listed under each category:

- **Outer (Parent) Query:** Loop through Taxonomy Terms (e.g., Product Categories like _Electronics_, _Clothing_, _Home_).

- **Inner (Child) Query:** Loop through Posts/Products belonging to the current term (e.g., Products assigned to _Electronics_).

**Desired Functionality:**

1. **Targeting the Outer Query:**

2. **Targeting the Inner Query:**

**Current Limitation:**

Currently, applying Query Filters or Pagination within a nested loop architecture either defaults strictly to the top-level query, breaks AJAX reloading for the nested content, or causes scope conflicts between the parent and child query IDs.

**Why this is essential:**

This feature will unlock advanced layout patterns—such as grouped catalog views, multi-tier directory layouts, and category-first product listings with interactive dynamic filtering—without relying on third-party plugins like WP Grid Builder or custom PHP scripts.
