Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Exclude posts doesn't work
- This topic has 6 replies, 2 voices, and was last updated 3 years ago by
GBteam.
-
AuthorPosts
-
May 23, 2023 at 11:24 am #42672
GBteam
ParticipantHello,
I noticed a strange behavior, when I try to exclude some posts from the plugin parameters. See attachments, i set for example “Mister Minit” as excluded post, but it doesn’t seem to work well.
First example search, excluded posts are still visible :
https://trouvezadole.fr/?s=cordonnerie&asp_active=1&p_asid=1&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0&woo_currency=EUR¤t_page_id=2667Second example search, excluded posts are hidden :
https://trouvezadole.fr/?s=mister&asp_active=1&p_asid=1&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0&woo_currency=EUR¤t_page_id=325Thanks in advance for your help.
Regards
May 24, 2023 at 12:25 pm #42706Ernest Marcinko
KeymasterHi,
If I see correctly this is within an Elementor archive widget? If the settings are correct, then I suppose the archive widget may be ignoring it for some reason. Can you check the widget settings if there is a way to exclude items? Some Elementor widgets have a field to exclude elements, I suspect they might need to be added there in this case for some reason.
May 24, 2023 at 12:52 pm #42714GBteam
ParticipantThanks for your answer.
I looked at the elementor model (see attachment) but there is no parameter to exclude items.
Also, the result is different depending on the query (see my previous message), while the Elementor template is the same.
Do you see an other reason ?I can send to you credentials if you want.
Regards
May 25, 2023 at 12:34 pm #42734Ernest Marcinko
KeymasterOkay, let me know the credentials. If you can please add FTP as well, I will try to see what is in the query. Thanks!
May 25, 2023 at 1:24 pm #42736GBteam
ParticipantYou cannot access this content.
May 26, 2023 at 5:17 pm #42762Ernest Marcinko
KeymasterHi,
The culprit of the issue seems to be the modifications in the “Modify search suggestions results using Ajax Search Lite” snippet. That changes the queries significantly – looks like that does not consider the exclusions.
May 29, 2023 at 8:36 am #42812GBteam
ParticipantThank you for your investigation, I will ask the developer to try to manage the exclusions.
Regards
-
AuthorPosts
- You must be logged in to reply to this topic.