I'm trying to implement a kind of "search as you type" feature with the Search bar. Essentially, I'd like to have the user begin to type, make some kind of ajax request after each key, and then populate a div with "Related searches" as they type. Any good plugins for this or should I bake it up from scratch?

  • I like your question, as I would like something similar, however, the mods will probably be around to shut this thread down, as WPAnswers no longer allows plugin suggestion questions... UNFORTUNATELY Dec 7, 2012 at 22:02
  • Well it doesn't necessarily have to be a plugin. It could just AJAX to the built-in search page, get some JSON back and parse it. I just don't know how to make this efficient enough that it won't bomb my server. Dec 7, 2012 at 22:03
  • 1
    Something like this? How to create live autofill search? - wordpress.stackexchange.com/q/42891/12615
    – brasofilo
    Dec 8, 2012 at 14:54
  • @brasofilo perfect, I was able to edit that for my exact needs. Did a search but didn't stumble upon that. Dec 10, 2012 at 16:31
  • Glad it worked. Would be nice if you published your solution as an Answer, so this Q don't hang in the unanswered list :)
    – brasofilo
    Dec 10, 2012 at 16:47

1 Answer 1


I have developed an ajax search plugin a few weeks ago. There is a free version available at the wordpress plugin repository. Feel free to explore the source code :)

You can find it here: Ajax Search Lite

There is also a commercial version, maybe you are interested: Ajax Search Pro

You can check out the demos and see if it fits your need. Also, I provide quick and free support if something goes wrong. Im not sure if this is what you are looking for, but I hope I could help.

Not the answer you're looking for? Browse other questions tagged or ask your own question.