wordpress google search

How to add a Wordpress Google Search

Rate this article

Share this article

If you would like to add Google search to WordPress, there are 3 methods listed below. Having a good search engine on your WordPress site, helps users find content much faster. Unfortunately, the default WordPress search is not good. Let’s get started.

wordpress google search

Add Google search to Wordpress using these 3 methods-

Using Google custom search

  1. Go to https://cse.google.com/
  2. Enter your wordpress website URL under sites to search.
  3. Create a custom search engine.
  4. Go to setup-> Code and copy the code.
  5. In your wordpress site, access the searchform.php file, delete its contents and add the google custom search code there and save the file.How to add a Wordpress Google Search
  6. Go to Appearance->Widgets from your Admin Dashboard. Add the Search widget to your wordpress sidebar.

Using Wordpress plugin

WP Google Search

  1. Install and activate the WP Google Search plugin.
  2. Create a google custom search engine and copy-paste the search engine id (cx id) into the plugin settings.
  3. Use WP Google Search widget or [wp_google_searchbox] shortcode to place search box on your site.

Using the WP Fastest site search plugin

One of the major drawbacks of Google custom search is that it contains ads. The WP fastest site search plugin adds a Google-like search engine to your WordPress site.

WP Fastest Site Search

  1. Install and activate the WP fastest site search plugin.
  2. Go to WP fastest site search, sign up, enter your website URL and intital website crawl.
  3. Copy-paste your API Key into the plugin settings.
  4. If the above methods don’t work, copy the search engine code from here.
  5. Now copy-paste this code into your searchform.php file.
  6. Take live WordPress google search.wordpress google search

Get the Plugin

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like