-
AuthorPosts
-
July 29, 2021 at 10:39 am #1313201
Hi
I have added SearchWP and inserted the snippet as you recommend here: https://kriesi.at/documentation/enfold/search/#use-searchwp-instead-of-the-standard-search
It seems like the integration is not working as intended. In the SearchWP advanced setting I have checked the boxes “Remove minimum word length” and “Highlight terms in results”, but none of them seems to be working. I have contacted the SearchWP support and they recommended reaching out to you for enable, as the SearchWP does not control that search form.
I tried to look in your support forums and found this: https://kriesi.at/support/topic/searchwp-with-enfold/
I changed the value, but still doesn’t seem to work. See screenshot: https://test.telman.dk/wp-content/uploads/2021/07/screenshot.png
Thanks.
August 2, 2021 at 12:43 pm #1313898Hey Telmore,
Thank you for the inquiry.
I have checked the boxes “Remove minimum word length” and “Highlight terms in results”,
These options will only work in the default search form, but not in the AJAX search. Is that what you are expecting?
I changed the value, but still doesn’t seem to work. See screenshot: https://test.telman.dk/wp-content/uploads/2021/07/screenshot.png
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after editing the file. And please make sure to purge the cache before testing the search again.
Best regards,
IsmaelAugust 10, 2021 at 9:11 am #1316003Hi Ismael,
Yes I was expecting the 2 characters words to be working in the AJAX settings – is that not possible?
And not the “Higlight terms in results” – that should be on the results page.The file compression settings are already disabled?
This is what the SearchWP support team says:
“the problem you are having is that the form submission (which is controlled by Enfold) is not being triggered due to too few characters being entered.Enfold needs to be configured to submit the live search for 2 characters as it does for 3 characters. Once that submission is triggered the customization you included in your last update will be applied and perform the search using SearchWP.
> I also tried to check the “Highlight terms in results” in the advanced tap, but doesn’t seem to work aswell. Is that regarding the same issue?
This is somewhat related and would require additional customization to how Enfold returns the results to apply the highlighting. Their support team should be able to provide you with instructions on customizing that output and then once we know how to do that we can update that results template to apply SearchWP’s highlighting. We should solve the issue with the 2 character search first and then we can try to integrate highlighting once we hear back from the Enfold support team as to how we can customize that results template”.
Thanks in advance.
Best regards Sheila
August 13, 2021 at 8:30 am #1316559Hi,
Thank you for the info.
Setting the minChars value to 2 works fine, but I am not sure if this is going to follow or respect the plugin settings. It just triggers the AJAX search earlier.
Screenshot: https://imgur.com/zgccDTz
The highlight feature actually works in the actual search results page, but the font color is set to be the same as the default font color. To adjust the color of the highlighted terms, try this css code.
.searchwp-highlight { color: red; }
Best regards,
IsmaelAugust 13, 2021 at 9:22 am #1316563Hi Ismael
I have deleted the Ajax Search plugin. And i see that the minChars value works on your end and on my test site, but not on my end at Telman.dk. See screenshot: http://www.telman.dk/wp-content/uploads/2021/08/screenshot.png
The highlight feature css code works perfectly! Thanks!
August 16, 2021 at 3:53 am #1316843Hi,
Did you purge the cache or check the site on incognito mode? You might have to wait for a bit after typing the characters before the AJAX search actually starts. It still works on our end — typing two characters triggers the search.
Best regards,
IsmaelAugust 16, 2021 at 10:37 am #1316927Hi Ismael
It seems to work now – thank you so much!
Best regards,
SheilaAugust 18, 2021 at 6:51 am #1317269 -
AuthorPosts
- The topic ‘SearchWP integrate with Enfold’ is closed to new replies.