Streaming live at 10am (PST)

Filters with counts and CMS Library

Hey !

I’m trying to achieve something thanks to CMS Library (Finsweet) but i’m not finding any solution on web.

Here is the screen of what I want to reproduce
Capture d’écran 2021-02-03 à 14.46.59

So thoses are filters with the number of items right of them,
so I have two questions:

  • Is it possible to access to the CMS from custom code ? I’d like to have this kind of result:
    [{ item1 }, {item2}]

  • How to link the good category to the good number ? I added some classes to each button with the category name thanks from custom code

Thank you for your help !
Simon