Filter already applied (Premium)

Daniel

Last Update 6 months ago

By Starting Class

If you want to have your elements already filtered, after the page load you add a dfc-[your category] class to the df-area section.

There must be a button with the same dfc- class.


So if you want to start the filtering with dfc-cats. You have to have a button with a dfc-cats class.

By URL

You can also determine what filter is applied with the URL. For example:


https://demos.danielvoelk.de/ice-cream/?filter=stick


https://demos.danielvoelk.de/ice-cream/?filter=cone


You have to just add ?filter=CATEGORY and the category without dfc-

Keywords: default column, default row

Still need help? Message Us