Do you want to add Google search bar widget instead of the default WordPress search on your WordPress site? In this article, we will show you how to easily add Google Search bar widget to your site.
Why add Google search bar widget on WordPress site
We do not find relevant results by default WordPress search toggle. That’s why we should insert Google search bar widget on our site.
Google Search is a powerful search feature that’s available for free. Through this, you search for anything on your site and only your site will appear in Google search results.
So let’s see how you can easily add Google search widget on your WordPress site…….
How to add Google search bar on your WordPress site
First, you have to install and activate the WP Google Search plugin on your WordPress blog to insert Google Custom Search bar widget.
After installing and activating the WP Google Search plugin, you have to click on Settings >> WP Google Search for Google search settings. As you can see in the screenshot,
Google search plugin will ask you to enter a Google Search Engine ID. But do not worry, we will tell you how can you get a search engine ID easily.
Getting Google Search Engine ID to insert Google Search bar box
To get a Google Search Engine id, go to Google Custom Search website and click on the “Create a custom search engine”.
After clicking, a new page will open in front of you. Enter the URL of your WordPress site in the “Sites to search” field. After this, select the language of the website. Then click on the “create” button.
Now, Google will create a custom search engine ID for your Google Search widget and show a successful message. Click on the “Control panel” button to continue editing for your Google Custom Search.
Now it will redirect you to the control panel. First, click on “Search engine ID” button and copy your search engine ID.
After this, click on the “Look and Feel” option to customize your Google search bar.
After finish, the settings click on the “Save” button.
Now you have to log in again to your WordPress site and go to Settings >> WP Google Search section and paste your Google Search Engine ID that you copied on Google Custom Search website. Then click on the “save changes” button.
After that go to the Appearance >> Widgets page. Then drag and drop your WP Google Search widget to the sidebar. Then click on Save button.
Now you can visit your WordPress website to view your Google search widget.
You can comment on any questions or suggestions related to this article. If you like this article “How to add Google search bar to WordPress”, please do not forget to share it on Twitter, Google+ and facebook…..