Hello,
I have an issue in this page http://ingve.it/ricerca-avanzata/.
If you try to search, for example, the word “Verbale” you can see the filter “Filtra per tipo di contenuto” (filter based on custom post type) doesn’t work.
The result’s list is always the same and doesn’t change according to the checkboxes selected.
Where is the problem?
I am guessing, that the ordering of the results might be the problem here. By default, the taxonomy term archive page reults are shown first, then the custom post types. Try changin the order so that the custom post types are first: https://i.imgur.com/ppOA7mg.png
Hi Ernest,
ok I’ve changed the order.
So I understand that some elements (like attachments -> pdf) are always displayed in the results even none of the checkbox is selected.
Right?
..and in this situation the only thing to do is to show them in the last positions.. correct?
Yes, in that case they are always shown.
You can however use the content type filters, and that allows disabling the attachment and taxonomy term results as well, as a separate filter.