Filter blog or shop modules

Daniel

Last Update 3 years ago

You can filter complete blog or shop modules (WooCommerce products), like filtering any other Divi module. 


If you e.g. have 3 categories, create 3 rows and put 1 blog module in each row.

Now set up each blog module to only show one category and put the dfc- filter class to the column or row.

So your structure is like this (in brackets are the classes):


PREMIUM

– section

     – row

          – button module (df-button dfc-category1)

          – button module (df-button dfc-category2)

          – button module (df-button dfc-category3)

– section (df-area dfc-category1)

     – row

          – column (dfc-category1)

               – blog module

     – row

          – column (dfc-category2)

                – blog module

      – row

           – column (dfc-category3)

                 – blog module


FREE

– section

     – row

          – button module (df-button dfc-category1)

          – button module (df-button dfc-category2)

          – button module (df-button dfc-category3)

– section (df-area)

     – row

          – column (dfc-category1)

                – blog module

     – row

          – column (dfc-category2)

               – blog module

     – row

           – column (dfc-category3)

                – blog module

Still need help? Message Us