Ivory Search › Forums › Support › Search with only 2 letters + using ‘Enter’
Tagged: enter key, only 2 letters, Search
- This topic has 5 replies, 2 voices, and was last updated 1 year, 6 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- April 26, 2023 at 9:32 PM #15884
Dear Support,
is it possble to start the search with only 2 letters?
Setting the indexing to 2 letters under ‘Advanced options’ doesnt help… (see screenshot)And is there a way to make the ‘Enter’ key work for searching? I think a lot of users will try to hit the ‘Enter’ after writing in their search terms.
The best would be if it could take you to the default ‘Search’ page where everything is listed.Thank you in advance!
Attachments:
You must be logged in to view attached files. - April 27, 2023 at 9:25 PM #15897
Hi Peter,
I hope you are well today and thank you for your question.
You can achieve this by configuring the search form as shown in the attached screenshot.
Best regards,
Ivory Search SupportAttachments:
You must be logged in to view attached files.- May 1, 2023 at 12:48 AM #15960
Thank you for the quick reply! The 2 letter search is working now perfectly.
However the ‘Enter’ key and clicking the search icon still doesn’t work.
Is it maybe something connected with the WP theme we use?The site link is here (still in development)
- May 1, 2023 at 6:36 PM #15975
Is it maybe something connected with the WP theme we use?
Please try using the search form shortcode directly on the page as described below and check whether it works fine.
- May 10, 2023 at 9:54 AM #16107
Good news, finally I found what caused the search icon and the ‘Enter’ key not working! And it’s not connected to your plugin at all.
The programmer guy who started the construction of the site put a javascript file in the child theme with a tiny function disabling the search button:` $(‘button.is-search-submit’).on(‘click’,function(e){
e.preventDefault();
}); `I have no idea why he did it… I commented out the script and since then everything is working fine.
This is what happens if somebody starts something and somebody else need to finish. It took a lot of time to find this hidden little script grrrr…So the plugin is working great, it was not your fault!
Sorry that I bothered you with this issue, and big thanks for your time spent with trying to help me.Thank you!
A happy customer š
- May 10, 2023 at 7:14 PM #16111
You are always welcome, Iām glad that it is working fine for you now. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:
Iād really appreciate that. š
And if I can be of any further assistance please don’t hesitate to ask.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login