Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › 2 questions about search results and styling
- This topic has 5 replies, 2 voices, and was last updated 1 year ago by
Ernest Marcinko.
-
AuthorPosts
-
May 20, 2025 at 8:25 am #54070
info_gB8K
ParticipantHello Support,
great plugin, I like it a lot. I just have 2 questions I could not figure out through the online-help.
1.) I use the search as a filter for posts. The posts use custom fields that Ajax Search Pro is filtering. Works like a charm. But when opening the page I would like to first show all results as standard. How to do that?
2.) I’d like to show the results underneath the search bar and underneath the filter options. How to do that?
Note if you check the website frontend: if you click on “Veranstaltungen” on the left, you’ll see a result as an example.
May 20, 2025 at 9:56 am #54076Ernest Marcinko
KeymasterHi,
Thank you very much for your kind words!
1. You are looking for the auto-populate feature, that will let you display initial results on page load.
2. Sure! Depending on the implementation, you can either use search the settings and the result blocks, or use their shortcode versions, in your case:
[wd_asp id=1] [wpdreams_asp_settings id=1 element='div'] [wpdreams_ajaxsearchpro_results id=1element='div']This will print the search, settings and the result containers under each other as you need it.
May 20, 2025 at 11:54 am #54077info_gB8K
ParticipantAwesome, thanks for your help Ernest!
Now all results are displayed, perfect. Is there a way to only show results that have a specific tag included?
And unfortunately the part the blocks didn’t work. I was using
[wd_asp id=1] [wpdreams_asp_settings id=1 element='div'] [wpdreams_ajaxsearchpro_results id=1element='div']but the results are unfortunately still displayed between the search field and the filters.
May 20, 2025 at 12:09 pm #54078Ernest Marcinko
KeymasterSorry I pasted it incorrectly:
[wd_asp id=1] [wpdreams_asp_settings id=1 element='div'] [wpdreams_ajaxsearchpro_results id=1 element='div']This will do it.
And yes, you can restrict the results to a specific taxonomy term, check this documentation.
May 20, 2025 at 12:22 pm #54079info_gB8K
ParticipantAwesome, thanks a lot Ernest!
May 20, 2025 at 12:23 pm #54080Ernest Marcinko
KeymasterYou are very welcome 🙂
If you like the plugin and have not rated already, feel free to leave a rating on the wordpress plugin repository, it’s greatly appreciated.
I will keep this open for a while in case you have any other questions.
-
AuthorPosts
- You must be logged in to reply to this topic.