-
AuthorPosts
-
August 16, 2019 at 10:11 am #1128216
Hello,
I have activated the small search box in Enfold. The search unfortunately gives very bad results. For example, if I enter “Island”, Icelandic articles will not appear in the search suggestions.
Only when I click on “See all results”, I get matching results. Here I have also installed the plugin Relevanssi. This has no effect on the preview in the search box.
Is there a solution to this problem?
best regards
FlorianAugust 17, 2019 at 2:39 pm #1128478Hi Florian
I just searched for “Island” on your website and search results look good to me.
What exactly is the problem or are you talking about a different website? If so please paste the link here (makes it easier to verify).Cheers
MichaelAugust 19, 2019 at 3:13 pm #1128923Hi,
Thank you for using Enfold.
@michaelH: He’s probably referring to the AJAX search.
@flocco21: You can use this filter to increase the number of posts shown in the AJAX search.add_filter('avf_ajax_search_query', 'avf_modify_ajax_search_query', 10, 1); function avf_modify_ajax_search_query($search_parameters) { parse_str($search_parameters, $params); $params['numberposts'] = 15; $search_parameters = http_build_query($params); return $search_parameters; }Default value is 5. We increased it to 15.
Best regards,
IsmaelAugust 21, 2019 at 12:58 am #1129377Hi Michael,
it’s about the suggestions in the search box. If I enter in the search box “Island”, come here directly suggestions – but no one has something to do with “Island”.
When I click on “All Results”, I see the correct results.
best regads
FlorianAugust 21, 2019 at 12:59 am #1129378Hi Ismael,
where can I find it?
best regards
FlorianAugust 21, 2019 at 6:34 am #1129453 -
AuthorPosts
- You must be logged in to reply to this topic.
