Grid of Posts with Multiple Category Filters


I am trying to create a grid of my posts and have 4 dropdown filters on top of the grid to display the posts that match the selected criteria.

My posts are sorted by 4 categories and each category has 3 subcategories, I would like to fill the dropdown filters with the subcategories only and be able to select multiple elements and filter the posts that way.

I have tried to search for tutorials on how to achieve this, also looked for plugins and other related information and I can’t find a way to do it since a lot of the tutorials are really old or just some display a way to filter using 1 filter.

Can anyone point me in the right direction of how I can achieve this? I was using the Editing Toolkit plugin which has a nice block that displays the posts but there is really no option to add a filter to the posts.

Thanks for any advice in advance.

Source link