WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Google Custom Search

This plugin uses Google's Search Engine to search your site's contents! You can also configure it through google to search multiple sites/do

Does this plugin replaces the wordpress plugin?

Yes and No.

The Google Custom Search plugin does not override the wordpress search functionality. You can choose to have it replace wordpress's search by removing the wordpress search and putting this plugin instead.

My current website search box is not in a widget. Can I replace wordpress search with this plugin?

Yes. You sure can.

You will need to modify the wordpress theme you are using and replace the wordpress search code with this plugin's API.

To display the search-box anywhere in the code, the following method should be used

<?php display_search_box($display_results_option); ?>

where $display_results_option is one of the following three options:

  • DISPLAY_RESULTS_AS_POP_UP - displays the search results as a pop-up resizeable dialog
  • DISPLAY_RESULTS_IN_UNDER_SEARCH_BOX - displays the search results under the search box
  • DISPLAY_RESULTS_CUSTOM - displays the search results in the place you have specified.

e.g: <?php display_search_box(DISPLAY_RESULTS_AS_POP_UP); ?>

How do I specify where the search results are to be displayed?

The search results can be configured within the widget to display in one of three options:

  • As a pop-up dialog.
  • Within the widget.
  • In an area you specify.

If you want to specify the location for the results to be displayed, you will need to do the following:

  1. Make sure the setting on the widget for "Display Results" is set to "Custom"
  2. Add the following line of code into your wordpress theme at where you want to results to be displayed.<?php display_gsc_results(); ?>

Can Google Custom Search search other/multiple websites?

Yes.

This configuration will need to be done with Google and documentation for that is provided by them. Go to http://www.google.com/cse/manage/all to configure your Google Custom Search Engine.

How do I create a Google Custom Search Engine?

Go to http://www.google.com/cse/manage/create and follow the instructions.

Find out more at http://littlehandytips.com/plugins/google-custom-search/

A handy plugin from little Handy Tips :)

Requires: 3.4 or higher
Compatible up to: 3.4.2
Last Updated: 2014-2-15
Downloads: 80,385

Ratings

4 stars
4.5 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1 0,1,0
0,1,0
100,1,1
50,2,1
100,2,2
100,1,1
0,1,0 100,1,1
0,1,0
100,3,3
0,1,0 0,2,0
0,4,0 100,2,2
0,1,0
0,1,0
50,2,1
0,4,0
0,1,0
100,1,1