I have a filterable tabs and photos by categories. The first category is All, and 4 more categories. I have two functions:
Is for filtering: