Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Custom post type search
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
- AuthorPosts
- March 17, 2020 at 11:50 am #26281
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?Thank you very much
Mirko
March 17, 2020 at 1:36 pm #26282Hi Mirko,
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
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 17, 2020 at 2:41 pm #26285Hi 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?Thank you
MirkoMarch 17, 2020 at 2:45 pm #26287Yes, in that case they are always shown.
Best,
You can however use the content type filters, and that allows disabling the attachment and taxonomy term results as well, as a separate filter.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.