19. July 2022

How to filter anything in Divi for free?

This is a quick instruction on how you can filter anything you want in Divi.

It shows you how you can create a:

  • Filterable portfolio with own modules
  • Filterable video gallery
  • Filterable gallery
  • How you can filter every Divi module.

Video Tutorial

1. Download the plugin

The first step is to download the free Divi Filter plugin here: Download

2. Upload and activate the plugin

In your WordPress dashboard, you click on Plugins → Add New → Upload Plugin and choose the divifilter.zip file. Afterwards you go to Installed Plugins and activate it.

Upload and activate Divi Filter Plugin

3. Create or open a page with the Divi Builder

If you already have a page, with a layout that you want to filter you can open that. Otherwise, create a new page and open it with the Divi Builder.

4. Create a section with buttons

Create a section for the filter buttons.

divi filter buttons

5. Add classes to button

Open the button settings and add the df-button class to each button module. You also add dfc-CATEGORY for each category you want to filter.

If you don’t add any dfc-CATEGORY class, then all elements will be shown.

button classes divi filter

6. Create another section and add class

Create a new section for the filterable elements and add the df-area class to it.

section settings divi filter

7. Create modules you want to filter

Create rows and add your modules you want to filter into the columns.

Only the columns will be filtered, so make sure to add one filter element into one column.

8. Add classes to columns

Open the row settings and then click on the gear icon to access the column settings.

Here you add the dfc-CATEGORY class, that you want the element in that column to show up for.

Now everything is set up. If you now click a button e.g. with dfc-CATEGORY1 then only columns, with this class will be shown. All others will be hidden.

Disclosure: Some of my posts contain ‘affiliate links.’ This means if you click on the link and purchase the item, I will receive an affiliate commission at no extra cost to you.

5 2 votes
Article Rating
Subscribe
Notify of
guest
29 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
fontic
fontic
1 month ago

Good morning Daniel. First thank you for your plugin is awesome. I have a question and I would like it if you could help me. I want my home page to look like this, with category buttons and below them. Do I have to build anyway with the theme builder or can I do it directly from the created page. I don’t know if I explained myself well enough. I repeat, thank you very much

Alexandre
Alexandre
6 months ago

Cool Daniel, very simple.

I’m making my filterable gallery images and I came cross navigation between images with lightbox opened. How can I navigate from one image or category into another?

Alexandre
Alexandre
6 months ago
Reply to  Daniel

Thanks Daniel. Another question: how can I change active mode style of df-button?

Johny
Johny
6 months ago

Hello Daniel, Is it possible to arrange all the elements horizontally – next to each other? Buttons next to filter results? The solution you propose is quite interesting, but even with the premium version I cannot arrange the selection buttons next to the results. And I need it very much. On the left, a selection – on the right, the result. Not like now, choice at the top, the result at the bottom. Could you give me a hint?

Johny
Johny
6 months ago
Reply to  Daniel

Thank you! I’m starting tests!

Johny
Johny
6 months ago
Reply to  Daniel

Everything works just like you wrote Daniel. Thank you. I would be grateful if you could tell me how to make an orange module for the buttons and the 4 columns on the right for the results in special circuits?

columns.png
Sara
Sara
3 months ago

Hi Daniel,

Is it possible to have 8+ categories (filterbuttons) with a row with 3 columns (like the design in your youtube tutorial)?

Nikita
Nikita
1 month ago

Hi Daniel,

Is it possible to use the premium as a sorting method instead of filters, and have it as drop downs like the listing layout example?

Nikita
Nikita
1 month ago
Reply to  Daniel

Do you have any recommendation on how I can sort my filtered columns, I need price max – min and min – max. Any reccomendation on how to do this?

Monika
Monika
25 days ago

Thank you for your plugin,. It seems to be a very good solution for me however I have additional question. Is it possible to set up an activ button? I mean when you click on button “category 1” this button for example changed color?

Monika
Monika
25 days ago
Reply to  Daniel

Thank you for your answer. In premium version I see” multiple filter” What limit is in free version ? And limit is on the number of filter cathegory? And What does it mean option „different modes”?

Monika
Monika
21 days ago
Reply to  Daniel

ok, I understand. I have the last question. Is it possible to get pagination buttons when you have many columns to filter?

Monika
Monika
13 days ago

Is it possible in premium version to set up a text module which will appear only in specific category( without „all”)? For example, I have category „all animals” „cat” and „dogs” and I would like to have a text „lorem ipsum” when you click on the „cat button” however when i click „all” this txt shoul disappear .
P.S. Could you also answer the question above about pagination buttons ?

Monika
Monika
12 days ago
Reply to  Daniel

Thank you for your reply David:) However, when I make a class, and then assign that class to everything except the text. The text has default settings and it shows in “all” (df-button). I would like to get this text only in specyfic category (not when I click the “all”)

Monika
Monika
11 days ago
Reply to  Daniel

ok, thank you ! I will try

Monika
Monika
11 days ago

Sorry for my many question.. I would like to ask about one more thing. I read in documentation that I can set up URL like this https://demos.danielvoelk.de/ice-cream/?filter=stick However, is it possible to create custom URL? Or only in that one way?

Pin It on Pinterest