O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The overall plan

In order to demonstrate how to integrate Ajax into your WordPress plugins, we've chosen a textbook example: automatically showing search results. Later in this book, we'll use Ajax to do more complicated things, but first we're going to cover the basics by breathing life into the standard search widget.

If you don't have the search widget enabled on your site, enable it now so you can see what we're talking about. In the WordPress manager, click on the Appearance | Widgets link and then drag the Search widget into the Primary Widget Area so that it becomes active. On a tangential note, WordPress uses Ajax to save your widget selections without you having to click anything.

Take a look at your home page to verify that you see the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required