Using Looper to group posts by category

Hi team, I’m attempting to set up an Archive layout that groups all the posts by category. Essentially I want to display each category title first, then the various posts that belong to that category in a grid below.

I know I can do this manually with multiple looper providers using the Query Builder and filtering each one by a specific category, but I want to set it up in such a way that it automatically displays a new category and the posts within it when a new category is added.

I figure this must be possible using nested loopers but I can’t figure it out. Any suggestions?

Never mind, I figured it out thanks to this topic.

I was halfway there, had my initial term looper set up correctly, just needed to compose the correct query string for the second looper. Sorted!

Hey @liquidedge,

We are glad that you were able to figure out a solution to your issue. We appreciate for letting us know.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.