Bricks Builder Nested Query Loops4:22

Bricks Builder Nested Query Loops: Show Each Category's Newest Posts

Shan AsifNov 18, 2026 · 1 min read

Included in the All-Access Pass, or get the course on its own.

My food blog's home page has a row of topic cards, one per category, built with a query loop in episode 13.

But "Kitchen Tips, 3" doesn't tell a visitor much. Three posts about what?

So I wanted each card to list its three newest posts. That takes a loop inside a loop, and it only works once you know which item each loop is showing.

What you'll learn

  • What a nested query loop is, and when you need one

  • How to put a posts loop inside a categories loop

  • Why every card first shows the same three posts

  • How Term ID in a Taxonomy query connects the inner loop to its card

  • Which item a dynamic tag reads when loops are nested

  • Why Term name inside the posts loop comes out empty

Related tutorials

Bricks Builder Query Types
Bricks Builder Query Types: Loop Over Categories Instead of Posts5 min video
Bricks Builder Query Loop Show Your Latest Posts Automatically
Bricks Builder Query Loop: Show Your Latest Posts Automatically5 min video
Client Finder finds sites that need a redesign, each with the reason to write. Try Client Finder
Share this tutorial