Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google XML Site Search

A search plugin that uses the XML API of Google Site Search (aka Google Custom Search).


If you wish to customize the search result page, create a template named 'google-custom-search.php' in your theme. Refer to the plugin's 'default-template.php' for available template functions. The functions mimic the way that The Loop works, so it should feel familiar.

For advanced users who want even more control of the output of the plugin, it is also possible to transform the response from the XML API with an XSLT style sheet. To do this, create a file called 'google-custom-search.xsl' in your theme. Please refer to Google's documentation for the XML API (https://developers.google.com/custom-search/docs/xml_results) for the format of the response.

If you have a custom search form, you need to change the name-attribute of your search field to "gcs" (ie name="gcs") and make sure that the form action is set to the root of your site. Otherwise the search query will not be handled by this plugin.

Requires: 3.3 (may work with older versions, not tested) or higher
Compatible up to: 3.4.2
Last Updated: 4 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.