I am using the Sunrise theme, lightly modified. I am wanting to exclude some tags from my filter by tags in Search and Discovery.
I have seen that it is possible, but other themes have a filter.liquid file to modify the loop. I am unable to find a filter related file. I can add a prefix to my tags or whatever is needed. I just need to know where to put the loop to exclude the unwanted tags.
You can do it by using this simple method, find the liquid that renders the tags filter, adding the data-value=β{{value}}β (value is the tag name/filter value). For example:
{{ value }}
and then in the CSS, add the display none for those tags that you want to hide
.facet[data-value=β{{value1}}β],
.facet[data-value=β{{value2}}β],
.facet[data-value=β{{value3}}β] {
display: none;
}
Or you can try some filter app and exclude the filter option that you donβt want to show