jQuery isotope: filter on page load based on get variable

superUntitled picture superUntitled · Jan 5, 2012 · Viewed 8.8k times · Source

I am working with the jQuery isotope plugin and would like to display only items from a particular group when the page loads. Currently all of the items are displaying:

http://aproposstudio.com/category/work/

For example, on the link above, is there a way to load the page with the 'murals' displaying?

thanks.

Answer

madvertising picture madvertising · Oct 1, 2013

The answer is quite easy:

$('#container').isotope({ filter: '.your-filter-name' });

Use this line in your code.

Refere this link: http://isotope.metafizzy.co/docs/filtering.html