blog

Categories

How to Install Google Custom Search on Your WordPress Site

How to Install Google Custom Search on Your WordPress Site

With all the great features that WordPress has to offer, there are bound to be a few that leave a little to be desired – one of which is the built-in search widget. Because of this, many web admins replace the built-in search with an altogether better search experience such as Google Custom Search, which allows you to mimic the search functionality of Google, right on your WordPress site. Here are some easy to follow instructions on how to install and implement Google Custom Search.

Note: The instructions below are for a self-hosted WordPress site, if you website is hosted on WordPress.com these steps may not work.

Step #1: Set-Up 

  1. Visit Google Custom Search and click the Create a Custom Search Engine button.
  2. Enter your site URL and what you would like to title your search engine (ex. www.lushcreativegraphics.com; Lush Creative Graphics), then click Create.
  3. In the left sidebar, under Edit Search Engine, click Set-up.
  4. Click the Search Engine ID button next to Details, and copy your Search Engine ID number (Ctrl + C).

Search Engine ID

Step #2: Implement

  1. Download, install and activate the Google Custom Search Plugin.
  2. In your WordPress sidebar, select Settings > Google Custom Search.
  3. Paste your Search Engine ID into the field specified (Ctrl + V), and click save.
  4. Navigate to Appearance > Widgets in the left sidebar.
  5. Click and drag the Google Custom Search widget into the widgetized area of your choosing.
  6. Select how you would like the search results to be displayed and click Save.

Google Custom Search Widget

Step #3: Customize

  1. Back on the Google Custom Search website, click Look and Feel in the left sidebar, then click Customize on the page.
  2. Insert any fonts or colors of your choosing and click Save to implement those changes. You can customize everything from the search box to the search results.

Stylize Google Custom Search

Comments on this entry are closed.

Send this to a friend