Webflow sync, pageviews & more.
NEW

How can I create categories in Webflow to filter my blogs?

TL;DR
  • Create a Categories Collection with a Text Field for category names.
  • Add a Reference or Multi-Reference Field in the Blog Collection to link categories to posts.
  • Apply filters in the Collection List based on the category field.
  • Optionally, add a category selector using a dropdown or Collection List for navigation.

To create categories in Webflow and use them to filter blog posts, follow these steps:

1. Create a Categories Collection

  • Go to CMS Collections and click Add Collection.
  • Name it Categories and add a Text Field for the category name.
  • Click Create Collection and add your desired categories.
  • Open your Blog Posts Collection and add a Reference Field.
  • Set it to Reference Categories Collection so each blog post can have one category.

If you want multiple categories per post, use a Multi-Reference Field instead.

3. Apply Filters to Your Blog List

  • Go to the Collection List displaying your blog posts.
  • Click on Filter and select the Reference or Multi-Reference field you created.
  • Choose the specific category to filter by.

4. Add a Category Selector (Optional)

  • Add a Dropdown, Navbar, or Collection List to list all categories.
  • Use Collection List Settings to show items from the Categories Collection.
  • Link each category item to a CMS Collection Page filtered to show only posts from that category.

Summary

To filter blog posts by categories, create a Categories Collection, add a Reference or Multi-Reference Field in your Blog Collection, and apply filters to your blog list. You can also create a category selector for user-friendly navigation.

Rate this answer

Other Webflow Questions