Hi I’m using jQuery Isotope and I have a filter like this:
<ul class="filter option-set " data-filter-group="date">
<li><a class="selected" href="#filter-date-January" data-filter-value=".January">January</a></li>
<li><a href="#filter-date-April" data-filter-value=".April" class="">April</a></li>
<li><a href="#filter-date-any" data-filter-value="" class="">ALL</a></li>
</ul>
Even though I use the “selected” class for the first item, the items are not filtered by that criteria, it shows all instead.
Is there anything else I should do to make it work?
Thanks in advance.
Lu
You could split initialization and filtering.
I’d prefer to handle filtering in a separate function, i.e: