If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
February 14, 2014 at 10:56 pm #224197
So I was talking with Swiftype and their solution would work perfectly, but basically, I need to disable the theme’s ajax search function while leaving the search box enabled/present. From there, embedding the following code in the footer would leverage the search box…can you tell me where i do this in the php files?
In the Relevanissi example, where in functions-enfold.php would you comment out the existing search function and replace it with this? Did I miss that in the link above?
Thanks, Devin!February 15, 2014 at 11:09 pm #224422
The function doesn’t replace the theme function. It filters the themes search (avf_ajax_search_function) with your own function which then your search function is used instead.February 20, 2014 at 3:43 am #226539
I guess I’m not clear where that code would be placed, or where Swiftype would add code similar to that? I just need the Enfold search box to use an engine that can provide results from both my main domain and subdomain, and the subdomain isn’t wordpress…any other ideas to simplify this?February 20, 2014 at 4:29 am #226563
You must be logged in to reply to this topic.