Plugin to dynamically filter posts by category


I’ve my blog page with all my posts displayed in one as a masonry grid.
I’d like to place at the very top a filterable menu so that on the click of one category just that category gets displayed and the others disappear.

Is there a plugin that could do such a thing?

This is the page in case you want to understand what it currently looks like

Thanks in advance :slight_smile:

I’m not sure, but I think this can do it. Check it out:

Hey WaveToys,
thank you so much!

Do you think there’s a plugin that can work directly with my theme and how it displays my posts? I quite like my layout, and I also believe the client wouldn’t like to spend other 30$ (not much, I know, but he’s quite greedy…)

Or is there maybe a way to pull out the filters and organise the posts using directly some coding?


I’m really not competent to give you that answer. Someone from codecanyon should answer this. I only suggested “The Grid” because I used it on my website to achieve simmilar layout. I had posts, pages and portfolio items all sortable by category like you described you want. Above the grid I was able to choose filters like rock, pop, jazz etc. (I sell royalty free music), and this plugin worked great for that. But you have to set the grids up, it’s not just filter for your posts, it will show you what you want but in it’s own layout.

Hello @mircofragomena,

This article:

can help you with the code to display categories as links, if you don’t want to use a plugin (you can style the href links afterwards, however you like, with CSS).

All the best!

Hey, thanks :slight_smile:
I will give it a try - really good suggestion!