Google search WordPress image

Adding Google Search on WordPress is one of the best advantages of WordPress. Although the WordPress comes with a built-in search feature, but it is not very good. Because of this reason many WordPress users and bloggers add Google site search on their WordPress website. In this article, we have shown how to add Google Search in WordPress blog or site easily.

How to Add Google Site Search on WordPress?

The default search feature of WordPress is not very useful. Sometimes it fails to find the relevant results. Because of this, the WordPress users are looking for alternatives. There are number of search plugins for WordPress such as Swifttype, SearchWP, etc., The problem with these are you have to still manage the plugins. These will impact on your server sources.

Google Search on WordPress image

The Google Search is powerful and reliable search feature, and it is freely available. It allows you to limit the search to your WordPress websites and can be run from your site.

Features of Google Search on WordPress
  • Speed.
  • Trusted Brand.
  • No maintenance.
  • Easy to use.
  • Reliable.
  • Powerful.

How to Add Google Search to WordPress Website?

There are various methods for adding Google search on WordPress. Here we provided the simple methods to add Google search in WordPress site. Take a look at it and know how to add Google search bar on your WordPress website.

Process 1: Add Google Search in WordPress with Plugin

This is the easiest way for adding Google Search on WordPress. It allows you to add Google Search on WordPress without any modification in your theme files. We recommend this method for Beginners to add Google Site Search.

Step 1: Install and Activate WP Google Search plugin

You can install WP Google Search plugin in various ways. Here we clearly provided those simple methods. Have a look at it and know how to install WP Google Search plugin on WordPress.

Install WP Google Search Plugin using WordPress Plugin Search

WordPress admin Login image

 

  • Click on Plugin option on your WordPress.

wordpress plugin option image

  • Click on the Add New option from the Plugins Page.
  • Enter WP Google Search in the search Plugin field.
  • Now, the WP Google Search WordPress plugin will appear on the screen.

WP Google Search plugin wp image

  • Click on the Install Now Button on that plugin.
  • Now, the WP Google Search Plugin is installed on your WordPress site.

WP Google Search activate image

  • Next, click on the Activate plugin option from the Installed WP Google Search WordPress Plugin.
  • Finally, the WP Google Search Plugin is installed on your site.

Install WP Google Search Plugin using the WordPress Admin Plugin Upload

  • Download WP Google Search Plugin Zip File.
  • Now, Login to your WordPress admin area.
  • Open Plugins Page on your WordPress website.
  • Next, click on the Add New option from the Plugin Page.
  • Click on the upload plugin button available at the top of the page.

upload amp plugin zip image

  • Click on the Choose File button.
  • Select the downloaded WP Google Search Plugin Zip File from your computer to upload.

WP Google Search upload image

  • Next, click on Install Now button.
  • Now the WP Google Search Plugin is installed on your WordPress website.
  • Next, click on the Activate option from the Installed WP Google Search WordPress Plugin.
  • Finally, the WP Google Search Plugin is installed on your site.

Manually Install WP Google Search WordPress Plugin using FTP

  • First, download WP Google Search Plugin Zip File.
  • Extract the Zip File.
  • Next, access your WordPress website using FTP.
  • Open the “wp-content/plugins/” folder.
  • Now, upload that Extracted Zip File of WP Google Search plugin to the “wp-content/plugins/” folder.
  • Next, Login to your WordPress site admin area.
  • Now, click on the Plugins option.
  • Search for the WP Google Search Plugin.

Google search installed activate image

  • Next, activate that installed WordPress WP Google Search Plugin.
  • Finally, the WP Google Search Plugin is installed and activated on your site successfully.

Manually Install WP Google Search WordPress Plugin using cPanel

  • First, download the WP Google Search plugin zip file.
  • Login to your cPanel Account.

cpanel login image

  • Click on the File Manager option.

cpanel filemanager icon image

  • Next, click on the public_html.
  • Click on the wp_contents folder.

cpanel Wp contents folder image

  • Now, a new web page will display on the screen.
  • Next, click on the plugins folder from that displayed page.
  • The List of WordPress plugins installed on your site is available here.

cpanel plugin upload image

  • Click on the upload icon from here.
  • Upload WP Google Search plugin zip file.
  • Now, select the uploaded file and click on the Extract Files option.
  • Navigate to your WordPress admin area.
  • Next, click on the Plugins option on your WordPress.

plugins option in dashboard

  • Now, the list of installed plugins is available here.

Google search installed activate image

  • Now, activate the WP Google Search plugin.
  • Finally, the WP Google Search WordPress Plugin is successfully installed and activated on your WordPress site
Step 2: Setup WP Google Search plugin
  • Go to Settings section from your WordPress admin area.
  • Select WP Google Search under Settings Section.

WP-Search-setting-image

  • The WP Google Search plugin will ask you to provide a Google Search Engine id.
    • how to get a search engine ID?
        • Visit Google Custom Search website.

      Google-Custome-Search-engin

        • Click on the button Create a custom search engine.

      Custom-search-image

        • Now, provide your WordPress website URL in the field of ‘Sites to Search’.
        • Select the language of your site.
        • Next, click on the create button.
        • Now, Google will create your custom search engine.
        • It provides a success message with a link for the further actions.

      message control panel image

        • Here you have to click on the control panel button for edition your search engine.
        • Next, you have to click on the Search engine ID button.

      search engine id image

        • Copy your search engine ID.
        • Now, you need to click on the Look and Feel option.

      Look and feel search engine image

      • Select the results option under the layout tab.
      • Next, click on the save button available at the bottom of the page.
  • Now, paste the search engine ID you copied from the WP Google Search settings page.
  • Click on the save changes button.
  • Next, you need to select Widgets option from the Appearance section. The WP Google Search widget is available at the list of available widgets.
  • Now, drag and drop the WP Google Search widget to a sidebar where you want to display the Google search form.

drag and drop widget image

  • Finally, you have to click on the save button.
  • Now, you can visit our site and check the Google Search on WordPress.

WP-google-custom-search-bar

Click here Add Current Date, Month, Year in WordPress

Process 2: Add Google Search in your WordPress Manually

This method is little bit difficult when compared to the previous method. You have to make changes on your WordPress theme or child theme. Before making any changes you have to keep the backup of your WordPress website. We do not recommend this method for the WordPress beginners.

Step 1: Add Google Search to your WordPress
  • Visit Google Custom Search website.

Google-Custome-Search-engin

  • Now, click on the button Create a custom search engine.

Custom-search-image

  • Next, provide your WordPress website URL in the field of ‘Sites to Search’.
  • Now, select the language of your website.
  • Click on the create button.
  • Google will create your custom search engine.
  • Now, it provides a success message with a link for the further actions.

Get search engine code image

  • Next, you have to click on the Get code button.
  • Copy your search engine Code.
  • Next, access your WordPress site through FTP.
  • Go to wp-content folder.
  • Open themes folder.
  • Select your current theme folder.
  • Search for searchform.php file.

Search form php file image

  • Next, download searchform.php file to your computer.
  • Open with Notepad.
  • Next, select and delete all contents of that file.
  • Paste the Google search engine code.
  • Save file and upload it back to your WordPress site through FTP Access.
  • Next, Login to your WordPress admin area.
  • Select Widgets option from the Appearance section. The Search widget is available at the list of available widgets.
  • Now, you have to drag and drop the Google Search widget to a sidebar where you want to display the Google search form.

drap drop widget image

  • Click on the save button.
  • Now, visit our website and check the Google Search on WordPress.
Step 2: Customize Google Search
  • Go to Google Custom Search website.
  • Edit your search engine.
  • Now, settings for your Google Search engine will display on Screen.
  • Click on Look and Feel from the sidebar.
  • Google custom search offers some premade themes, you can choose one of them for your Google Search.
  • You can click on customize tab to choose your own font, border and background colors.

custom goog search bar image

  • After your customization done, just click on the save changes option.
  • Now, these changes are automatically applied to your search form.

Conclusion:

Hope this article helped you to add Google search to website. Follow us to get knowledge on WordPress. If you face any WordPress Error, don’t worry about it. Just visit our site and get the simple solution for your WordPress Error.

LEAVE A REPLY