Query Loop: Dynamic Data as a Term Filter

Hi there!

I want to create a site with section where each section represents a category, has a title and displays posts of that category. I’ve set the sections up by using the query loop, but can’t figure out how to filter the posts to only display posts of that category/term.

Any help our thoughts would be appreciated, I’m sure this is possible somehow.

Thanks!

Have you tried using {term_id} in the “Child Of” option?

Child Of : Set the parent ID to return all its children only. (‘post_parent’ in WP_Query)

More information here: Query Loop – Bricks Academy

Thanks for the suggestion, I’ve tried that indeed. It doesn’t return anything.

I think post_parent is mainly used for page hierarchies (similar to sub-categories). Am I missing something?

Once again, thanks for you’re response!