> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.dorik.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to add filters in Custom Collections

# Getting Started

Filters can help you **select Custom Collection items you want to showcase on your website**. If you have a custom collection already and would like to be more specific about the items you want to showcase, that is where filters come in handy. This article will cover how filters work and how you can use filters on custom collection items on a CMS Row.

---

# How to create Custom Collection

You will need to have a custom collection on your website. To learn how to create custom collections, refer to the documentation below:

[Add a new Collection ](https://help.dorik.com/en/article/add-a-new-collection-1c6j3hx)

---

# How to add Fields to Custom Collections

Before using filters, you should have **fields with values** on your custom collections.

Refer to the documentation below to learn how to create fields in custom collections:

[Add and customize fields in a Collection ](https://help.dorik.com/en/article/add-and-customize-fields-in-a-collection-p4ry4y)

---

# How to add Filters to Custom Collection Items

Follow the steps below to see how filters work for **Custom Collection** Items.

1. Add a **CMS Row** to any section
2. Connect the **Database** to **Custom Collection** as the Data Source
3. Select any collection

![](https://cdn.dorik.com/627b88a2bb53f40029a192a7/634bade06d82a900119e45f9/images/notion-1_ov58pc0b.gif)

4. Add any element and populate it with **CMS** **fields**.

![](https://cdn.dorik.com/627b88a2bb53f40029a192a7/634bade06d82a900119e45f9/images/Untitled-design-18-1_udu7mcwu.gif)

5. After populating the elements with **CMS Field Data**, click on ‘**Edit CMS Row**’ and start using filters.

![](https://cdn.dorik.com/627b88a2bb53f40029a192a7/634bade06d82a900119e45f9/images/Untitled-design-19-1_58fjyhbe.gif)

---

---

# Filter Types

You can use fifteen filters for **Custom Collection fields**, which can be applied to ten different data types.

**Filters:**

- Equal
- Does Not Equal
- Is Between
- Is Less than
- Is Less than or Equal
- Is Greater than
- Is Greater than or Equal to
- Contains
- Does Not Contain
- Is Set
- Is Not Set
- Is Before
- Is Before or Equal To
- Is After
- Is After or Equal To

**Data Types in Custom Collection Fields:**

- Text
- Rich Text
- Image
- Single Select
- Date
- Link
- Number
- Email
- Select(single)
- Single Reference

---

# Filters for every Data Type:

**Here are the filters that you can use for each Data Type:**

1. **Plain Text:**

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826748257-1_1dn9wqn.png)

2. **Rich Text:**

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826799447-1_1cum9m1.png)



3. **Image:**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826848880-2_15xx80o.png)


4. **Single Select:**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826888695-1_1skdjhu.png)


5. **Date:**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826931441-1_aw5gqw.png)

6. **Link:**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665826960320-1_1br1wdp.png)


7. **Number:**

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/gif-recording-2022-10-12-at-31_m21jnv.gif)

8. **Email:**

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665827149669-1_3qu4gd.png)

9. **Select(Single):**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screely-1665827173351-1_amy6xn.png)

10. **Single Reference**


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/untitled-5_1si21mh.png)

---

---