CMS Filter with URL


I’m creating a blog with different categories (news, events, etc.) And I want to know whether there is a way to filter the blog posts by url.

Something like…

I know I could make pages for each category and add the filter there, but that seems tedious. I was wondering if it could be done dynamically.


Hi @wagonmonster , sure you can… You just need to create a collection called Category (or whatever you want) and then create a Reference on the “posts collection” to the Category collection.

See example here (in Portuguese but you probably will get the idea):

I advice you to go through the CMS course if you have difficult to replicate this: