Custom Anchor Links that Control Filter Items

So say you have the filter stack and you want to use links elsewhere on your page to control the filtering of Filter items. With Filter you can!

Select the item in stacks that has the ability to add links, like a text selection in the Text Stack or the image in the Image stack. Once you have the link screen loaded, you only need to configure like so...

  1. Select URL and type the # as the value.
  2. Give the link a class of category-filter
  3. Give the link an attribute named data-filter , then the value you wish to filter on. In this example, clicking the link will only show items that have the Category Tag = "Tag Value".

That is it! Your link will now control the Filter items accordingly.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk