Create a filter menu

Опубликовано: 23 Февраль 2026
на канале: Kirby CMS
8,094
103

For products, projects or other collections of pages, it's often useful to put them in categories and offer a filter menu for your users. This video shows you how to build such a menu in your Kirby content management system.

Code snippets for this video:
➡️ https://github.com/getkirby/kirbycast...

🕓 In this video:
00:00 Recap: Pagination
00:33 Show the category
01:22 Filtering collections
02:06 Filter by category
03:42 Filter by URL parameter
05:35 Conditional filters with when closure
08:04 Add navigation
10:05 Pluck list of categories
13:17 Unique categories

----------

💡 Get to know Kirby CMS

► Official guide and docs: https://getkirby.com/docs
► Try it out: https://getkirby.com/try
► Ideas? Share them: https://feedback.getkirby.com
► Support? Reach out: https://forum.getkirby.com


🚀 Connect with us and others

► Discord: https://chat.getkirby.com
► Mastodon: https://mastodon.social/@getkirby
► LinkedIn:   / getkirby  
► Bluesky: https://bsky.app/profile/getkirby.com