Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Two dropdown menus for blog selection
- This topic has 7 replies, 2 voices, and was last updated 1 year, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
January 27, 2025 at 2:58 pm #52648
michaelbrigger_oARo
ParticipantI need detailed directions on how to set up a filter that uses two dropdown menus. The first dropdown menu is for categories; the second is for Tags. I do not want the main “Search” prompt in the filter. Just the two dropdown menus that auto-populate as soon as a selection is made. Is this possible? I cannot find the directions for this setup, so I was going to ask for a refund.
January 27, 2025 at 3:45 pm #52649Ernest Marcinko
KeymasterHi,
Sure, let me help you with that! I recommend checking the filters related documentation as well, but here are the exact steps:
– First off, to make things a bit simpler, set the Frontend Search Settings general options like so: https://i.imgur.com/6TcRj8w.png
– Then click to the Categories and taxonomy terms panel and choose all from categories: https://i.imgur.com/QgNIzEM.png
– Then click the Change Display Mode and change it to drop-down mode: https://i.imgur.com/c6ZBc0g.png
– Now, go to the Post Tags filter, and do similarly: https://i.imgur.com/drcxeBw.png
– Let’s disable the search bar, as you don’t need it: https://i.imgur.com/e1ejZWC.png
– I also like to turn off this option so the results doesn’t close: https://i.imgur.com/EUrQIhz.pngNow, if you check on the preview window, you get the two-drop downs with the results: https://i.imgur.com/s6DK4Qe.png
To take it even further, you can use the search + the results shortcode (or editor blocks) to move the settings and the results container wherever you want on the same page to be displayed separately:
[wd_asp id=1]and for the results:
[wpdreams_asp_settings id=1]February 1, 2025 at 10:21 pm #52712michaelbrigger_oARo
ParticipantThank you very much. That was very helpful. If I can ask a few follow-up questions. #1 I am having trouble changing the font style on the dropdown menu area (image included). #2 Is there a way to have the Tags filter (filter #2, “Solutions”) show results when the Categories filter (filter #1) is set to “All”? Presently, it does not show results.
Thank you again for the help!
Michael
page URL: https://reboundb2b.com/solutions/demo-growth-marketing/
-
This reply was modified 1 year, 4 months ago by
michaelbrigger_oARo.
February 2, 2025 at 11:10 am #52715Ernest Marcinko
KeymasterHi!
Try this custom CSS to force the correct font:
.asp_ss, .asp_ss * { font-family: "Montserrat", Sans-serif !important; }As for the options, it should show anything that matches. I suspect there is either a category based inclusion or exclusion in effect that may apply when no category filter is selected. Can you please make sure that nothing is excluded nor included?
February 3, 2025 at 3:51 pm #52732michaelbrigger_oARo
ParticipantThat did not fix the “no results” when just a tag was selected. Is there another option I can try?
February 3, 2025 at 4:02 pm #52733Ernest Marcinko
KeymasterI tried to replicate this to make sure it’s not a bug of some sort, but everything is okay on my end, so it’s probably something along the configuration.
Can you please add temporary back-end details so I can check the search config? It’s probably something I’m not thinking of.
February 9, 2025 at 8:04 pm #52828michaelbrigger_oARo
ParticipantYou cannot access this content.
February 10, 2025 at 11:54 am #52884Ernest Marcinko
KeymasterThanks!
The issue was that you had an “All” category, which is basically just an empty category. Instead of that I have enabled the “All” option for the category drop-down: https://i.imgur.com/1ocEzPI.png
It should be okay now. -
This reply was modified 1 year, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.