Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › filters unselected by default
- This topic has 10 replies, 2 voices, and was last updated 2 years, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 20, 2023 at 1:13 pm #41462
Javier
Participanthello Ernest,
Can I make by default only marked one of these filters? I only want default selected “Estudios”
https://tinyurl.com/2kapw6y4Could you let me know how to do it?
Thanks a lot in advance
JavierFebruary 20, 2023 at 1:53 pm #41468Ernest Marcinko
KeymasterHi Javier,
Sure! The option is missing from the UI, but you can make them unchecked by not selecting any post types on the
Search Sources -> Post Type searchpanel: https://i.imgur.com/C6f8ec9.pngFebruary 20, 2023 at 2:02 pm #41470Javier
Participantsorry but I do not follow, I do not see any tick there in search sources (There I have just configured the type of sources for the results, which is fine -> All post and CPT = Grados).
https://tinyurl.com/2p7zv6grI am not sure if you understand my request.
For better understanding I want my main search like this by default:
https://tinyurl.com/2jw3t5rfI am happy if you to log in and check yourself, please.
JavierFebruary 20, 2023 at 2:06 pm #41471Ernest Marcinko
KeymasterSorry, I may have explained incorrectly. Whichever post types are not choosen on the
Search Sources -> Post Type searchbox, they will appear as unselected by default.
In you canse you only need to choose the Estudios post type, and the other one is going to be unchecked, like this: https://i.imgur.com/fsQWDwp.png
That will result in the exact output from your screenshot.February 20, 2023 at 2:23 pm #41472Javier
Participantsorry, I must be stupid… xD but I dont understand.
This is what I see in the post type box
https://tinyurl.com/2f9gcvhuHope you can tell me what to keep or change.
Thank you
February 20, 2023 at 2:52 pm #41473Ernest Marcinko
KeymasterNo problem, we should have an option to change that, not your fault.
Change it like this: https://i.imgur.com/hKAJRs7.png
February 20, 2023 at 8:14 pm #41481Javier
ParticipantYou cannot access this content.
February 20, 2023 at 8:26 pm #41482Javier
ParticipantYou cannot access this content.
February 21, 2023 at 12:56 pm #41493Ernest Marcinko
KeymasterSure, no problem! The setup I recommended will do exactly as you described. When the user checks the “Alojaimento” checkbox, they will get results from that post type too. It does not matter if it is unselected on the general options, because by checking the checkbox it will override that.
I went ahead, logged in and changed the post type settings accordingly, you can test it 🙂December 18, 2023 at 6:23 pm #46392Javier
ParticipantYou cannot access this content.
December 19, 2023 at 10:25 am #46398Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- The topic ‘filters unselected by default’ is closed to new replies.