Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
May 20, 2025 at 2:53 pm in reply to: Are there any plans to include exact matches within the index table? #54085Ernest Marcinko
KeymasterGreat 🙂
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
May 20, 2025 at 1:58 pm in reply to: Are there any plans to include exact matches within the index table? #54083Ernest Marcinko
KeymasterHi Peter,
It’s unfortunately not possible to do so in general. Index table is basically a list of keywords, where every keyword is in a separate line (sort of like a spreadsheet). Therefore the order of the words is lost and so exact matching is impossible.
However the post titles are an exception as they are short. They are stored in two ways – both words and the whole titles up to 50 characters in the keyword field (that is the keyword length limit).
Basically if the title is selected for search an exact and a partial query is also tested against these titles.In your case it may not match for 3 possible reasons:
– The title is longer than 50 characters (which is true in this case)
– Also, if there are stop-words enabled and the stop word is detected during the index then the exact title is not indexed. This could be true as well, as if you have that enabled “of” is in the title any by default it’s excluded.However the results should still show up, so I’m guessing that you are using the “AND” or “AND with exact keyword matches logic”, and I’m guessing that you have stop words enabled – so the “of” word in the title is casusing the non-match. So I would suggest two possible solutions:
1. Either disable the stop-words and re-index
2. Or add the same words on the search instance keyword exceptions list as well, so they are removed from the search phraseEither solution should do the trick.
Ernest 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.
Ernest 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.
Ernest 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.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
May 20, 2025 at 9:42 am in reply to: Reflected XSS on https://healthclinics.superdrug.com/ via the q parameter #54073Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi Iris,
This can only happen if the navigation is returned as part of the article content (even if it’s not stored with it). I assume there is a programmatical hook that preprends the navigation bafore the actual article content and when Ajax Search Pro requests it, then it’s returned. Or it’s also possible that it’s appended to the auto-generated excerpts.
First I would try this configuration to see if that changes anything: https://i.imgur.com/bvllhIB.png
If it was the auto-generated excerpts, then this will solve it.However if the hook is adding to the post content, then the only possible solution is to remove the hook and rather edit the theme template files directly to not make it the part of the content. As you can see the same thing appears on the search results page here: https://i.imgur.com/C4aE4d0.png
..and the results page layout is not controlled by Ajax Search Pro at all. My guess is that the breadcrumbs is somehow hooked into the excerpt or content generation.May 19, 2025 at 8:25 am in reply to: How to Show Loading Indicator and Add to Cart Button in Ajax Search Pro #54061Ernest Marcinko
KeymasterSure!
The overlay is only possible when the plugin is at a fixed position on the screen as the overlay needs to be above all elements and that’s technically not possible to do at the moment.
To have that exact layout, try the following settings: https://i.imgur.com/Vd1MgGa.png
This should give you a slide-out search bar to a fixed width.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts