I am creating a category filter. Categories have subcategories but every post in a subcategory also belongs in a main category. In the dropdown filter in a custom search filter I only want to show the top level categories, so no subcategories should be visible. Is it possible somehow to limit the depth?
Really not possible? That is most unfortunately. I will see if I can hide them with some jQuery but maybe this might indeed be a nice feature to add? I you might have an idea for some jQuery to hide them, I would not say no to that 😉