Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Untick Checkboxes by default
- This topic has 10 replies, 2 voices, and was last updated 3 years, 11 months ago by
Philip Murray.
-
AuthorPosts
-
June 22, 2022 at 1:53 pm #38139
Philip Murray
Participanthi
I have used AJAX PRO to provide a search panel on this page of a client site.
I would like to have the checkboxes ‘unticked’ by default please for these Custom Post Types — how can I do this?
thanks
Philip
June 22, 2022 at 2:19 pm #38141Philip Murray
Participantalso can the checkboxes be laid out in a grid rather than vertically?
regards
Philip
June 22, 2022 at 3:23 pm #38144Philip Murray
Participanthi
Also – the Post Type search doesn’t seem to be working correctly – maybe i have a setting incorrectly added
for example – if you look at this page
https://xenopus.fdmserver.com/antibody
then select ONLY the antibody post type option checkbox and search for xBub3 in the ‘in page search’ [ie: not the top header search box]
you see a result — which is good but when i select Plasmid as the post type the same result appears even though that record only lives in the Antibodies post type?
what setting do i need to change please? if I select a post type i should only see results from that post type [if they exist in the site]
regards
Philip
June 22, 2022 at 4:47 pm #38154Ernest Marcinko
KeymasterHi,
The default state of the filters can be set under the “Change display mode” button, here: https://i.imgur.com/etvujLl.png
To set them vertically, use this custom CSS:.asp_filter_tax { width: 100% !important; min-width: 100% !important; } .asp_filter_tax .asp_simplebar-content { display: flex !important; flex-wrap: wrap; } .asp_filter_tax .asp_option { margin-left: 0 !important; } .asp_filter_tax .asp_option .asp_option_label { white-space: nowrap; }If the search results have seemingly no effect on the results page, make sure the results override feature is enabled.
June 22, 2022 at 8:51 pm #38158Philip Murray
ParticipantHI ERNEST
thanks for your reply however i don’t see the pop up box you showed in the png file – see my screenshot
regards
Philip
June 22, 2022 at 8:55 pm #38160Philip Murray
Participanthi Ernest
I also added the custom CSS into the Custom CSS button under Themes / Styling — but the checkboxes are still appearing in a vertical column — i was trying to get them to fill space horizontally
so a table or grid of 3 across and 3 down etc – something like that
Regards
Philip
June 22, 2022 at 9:15 pm #38161Philip Murray
Participanthi Ernest
The Post Type search [those checkboxes basically] is still not working the way i would like
basically – if you select a Post Type [one of the checkboxes – it should ONLY return results from that category — but at present it is returning search results no matter which category or categories are chosen [note – they are post types rather than categories really]
so if you search for the term noggin in that post type search box and select Xla Transgenics as the post type – the result is returned but it also shows results for the term nog – and these only exist in the Plasmids post type
Regards
Philip
June 23, 2022 at 3:49 pm #38170Philip Murray
ParticipantYou cannot access this content.
June 24, 2022 at 8:16 am #38172Philip Murray
ParticipantYou cannot access this content.
June 24, 2022 at 12:18 pm #38179Ernest Marcinko
KeymasterHi Phillip,
Sorry, we are a bit more busy than usual, due to the plugin sale. I will continue this conversation shortly in the other topic you have opened.
June 24, 2022 at 12:18 pm #38180Philip Murray
ParticipantThanks very much Ernest – I really appreciate it
Philip
-
AuthorPosts
- You must be logged in to reply to this topic.