Hi everyone,
I’m relatively new to Bricks — I’ve built one site for a client so far, and they’re really happy with it. Now I’ve been asked to add functionality that filters blog posts based on their assigned category.
Here’s what I’ve set up:
I have a Query Loop that displays the blog posts.
Above that, I have another loop that pulls in all categories, which I placed in a dropdown.
Each category link points to the blog page with the category behind it:
{post_url}/{term_slug}
That part seems to work, clicking a category reloads the page and adds the correct slug to the URL, for example:
/blog/news
Now comes the issue:
I want the post loop to only show posts from the selected category. I’ve tried using a Taxonomy Query in the posts loop with no success.
Basically, I don’t know what I’m doing with this. Any help is appreciated ![]()