Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search issues
- This topic has 5 replies, 2 voices, and was last updated 1 year, 2 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 28, 2025 at 10:38 am #53132
ajaypunatar_5dlK
ParticipantHI, I’m having a couple of issues with the plugin right now,
- Results arent highlighted on the results page sometimes (search mahavira gets highlights vs rsabha where it doesnt highlight the word)
- The select all checkbox doesnt unselect when you use any of the other checkboxes in the list
I’m also trying to get a result counter working in the filters so that users can see how many results there are per each post type and possibly even hide post types in the filter list with 0 results.
Is it possible to highlight synonym words as well as the search word?
Thanks
February 28, 2025 at 11:36 am #53137Ernest Marcinko
KeymasterHi!
1. It happens only when the text is not available on the results page excerpts. I have enabled the search results override feature, so the same results are placed on the results page. Now it should be okay.
2. I have tried the checkboxes, but it seems to work all right on my end: https://i.imgur.com/djFpG9W.png
I’m also trying to get a result counter working in the filters so that users can see how many results there are per each post type and possibly even hide post types in the filter list with 0 results.
I’m afraid there is no such feature for that.Is it possible to highlight synonym words as well as the search word?
Unfortunately synonyms can’t be highlighted, only the search phrase that was entered.February 28, 2025 at 2:37 pm #53148ajaypunatar_5dlK
ParticipantWith the select all checkbox, normally people would expect that as soon as you uncheck any of the other ones it won’t show as checked as not all the fields are checked.
As in it should only be checked when all of the other options are checked, and as soon as someone unchecks a filter it should show as unchecked.
Is that not how it’s supposed to work?
February 28, 2025 at 5:16 pm #53153Ernest Marcinko
KeymasterYes of course, sorry I was not clicking the “select all”.
The reason is, that the whole page is live loaded, including the search, which resets under that condition. This can be fixed by either turning off the live loader, or using this DOM selector here to only reload the results part:
#content>.row>.col:not(.post-sidebar)That should do the trick.
March 7, 2025 at 3:41 pm #53221ajaypunatar_5dlK
ParticipantIf I use the DOM selector, the filters disappear from the page when I search for something else on the page.
March 8, 2025 at 10:11 am #53230Ernest Marcinko
KeymasterIndeed. To resolve this, I have added an additional container in the theme search.php file, so that the results are properly isolated: https://i.imgur.com/cFUX9BM.png
After that, I have added the selector to the live search feature, now it should be much better. -
AuthorPosts
- You must be logged in to reply to this topic.