Streaming live at 10am (PST)

CMS Filter with URL


#1

Hi,

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...

www.site.com/blog/news
or
www.site.com/blog?category=news

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.

Thanks


#2

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): http://www.programanex.com.br/blog

I advice you to go through the CMS course if you have difficult to replicate this: http://help.webflow.com/courses/webflow-cms

Best,


#3