I have the portfolio set up to filter by category:
However I’d like the option to unsort and show all. Basically to unsort.
Is there a way to add an “All” button to the portfolio category filter?
Hey rgruber,
Thanks for your question, but unfortunately your portfolio is loaded with only certain categories and the other categories that are filtered out are not available in this state.
To achieve this I would recommend adding another element that shows all of your categories under the current one and use some css to hide it, then we could add an “All” button to your current element and some javascript so when it is clicked the current element is hidden and the other one is shown.
If you would create a test page with two portfolio elements set up and include an admin login in the Private Content area, we could demonstrate this for you.
Best regards,
Mike
or why don’t you choose on masonry all portfolio terms you have – and just hide those sort-buttons via css.
.av-masonry-sort .animation_sort_button {
display: none;
}
Then All will show all – only the non wanted Sort Options are not seen ( like the home-sort )
f.e.: on that page here: https://kriesi.at/themes/enfold-2017/elements/masonry/
if you set :
.av-masonry-sort .illustration_sort_button {
display: none;
}
The All Button will show illustrations too – but the sort option will not be there
The solution I went with is to create a category called “All” and assigned it to every portfolio item and then put All plus the other categories as the sort items. Works fine.