Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterAgain on the search results page, can Ajax Pro pass the filters that were applied to the search along with the search string?
Yes, if the search was redirected to the results page from the same search bar and the search override is enabled. Then the filter states are sent with the query URL and automatically preset to that on the results page.
On results pages usually the best configuration for the filters box is this: https://wp-dreams.com/assets/support/2025-10-23_mJePe.png
This ensures that the settings are always visible, as a block and can’t be hidden via the switch.Another cool feature is that you can actually move the filters to a different block via the settings block/shortcode. For example, you want the search on top, the filters in a sidebar, then just use the settings editor block or the settings shortcode in that location.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterDuring searching the ordering selected in the search settings is the one that is applied.
Is the issue that you want to display the posts initially by the ordering selected in the search settings? I’m not sure I follow why do you need a second search bar. Just want to make sure I understand the issue correctly 🙂
Ernest Marcinko
KeymasterNo, you can’t break anything there, it is only a read only repository with download access, no coding is involved whatsoever. I always send emails for all testers when a download is available. Don’t worry, all the instructions are there, it is really simple 🙂 I have sent you an invite, you should get it soon.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterWe do some beta tests (not on all versions though) via a private github repository access. Do you have a github account? I will invite you.
Thanks for the kind words!
As for the lists, it’s only a styling thing. The list is there, but the margins are reset. This will do the trick:
.asp_r { ul, li { margin: 0 1em !important; } }Ernest Marcinko
KeymasterHi,
All right!
My suggestion to “hide” the results is to reset the limit to the default 10, as 0 limit will only cause issues.
Instead, I suggest this custom CSS to simply “remove” them:
.asp_r .results { display: none !important; }This will keep the results counter and the more results text but hide the result elements.
There is an option to change the results top bar, you can do it over here.
If you want to apply custom styling, then use this CSS selector:.asp_r .asp_results_top { // your rules here }I recommend using the !important modifier on all custom CSS rules, otherwise they may not take effect as the core rules are higher specificity to avoid conflicts with theme/other plugin styles.
The results page however is out of the plugin scope, it is all controlled by the theme. In block themes there is usally an option on the Loop/Query block to display pagination. I’m not too familiar with that, but it should be there somehwere. I don’t think there is a separate block for that.
Ernest Marcinko
KeymasterHi,
Now I tried to add a limit of 6 posts inside the limits-tab of the ASP settings. But it’s not taking effect. How to make such a limit and then make a pagination?
Instead of limiting that in the search settings, try within the loop settings, as that should be the override. If that doesn’t work, then you can try forcing it via this option. That will try to override anything else and force that count.Can i create ordering on multiple search instances? I need 2 instances on the front page with each specific orderings. ATM one of them are set on: “menu order asc.”
Yes of course. You can create as many as you want.Is there a more efficient way to auto populate/refresh the results when entering the site? It slows it down quite a bit to reload the preset results.
If you are using it with the divi loop, then it might be better to actually configure the loop to show the desired initial results and turn off the auto-populate to avoid unneccessary loading. When a user triggers a search the plugin will override those initial results either way, so it does not matter what items are displayed initially.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts