How to Add Google Search in a WordPress Site

[agentsw ua=’pc’]

Do you want to use Google search on your WordPress site? Although WordPress comes with a built-in search feature, it is not very good. That’s why many site owners add Google site search on their WordPress site. In this article, we will show you how to easily add Google Search in a WordPress site.

How to Add Google Search in WordPress

Why You Should Use Google Search in WordPress?

The default WordPress search feature is not very useful. It often fails to find the relevant results. This forces site owners to look for alternatives.

There are plenty of search plugins for WordPress like SearchWP, Swiftype, etc. The problem is that you still have to manage them, and they will have an impact on your server resources.

On the other hand, you can use Google’s reliable and powerful search feature instead. It is free, allows you to limit the search to your sites only, and can be run from your own site.

Other benefits of using Google search are speed, users already trust Google brand, and you will not have to maintain or update it.

Having said that, let’s see how you can easily add Google site search to your WordPress site.

To make it easy, we have created a video tutorial on how to add Google search that you can watch below.

Subscribe to WPBeginner

However if you just want to follow text-instructions, then you can follow our step by step tutorial on how to add Google search in a WordPress site.

Method 1: Adding Google Search in WordPress with Plugin

This first method is easier and recommended for beginners. It allows you to add Google search to your WordPress site without modifying your theme files.

First thing you need to do is install and activate the WP Google Search plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » WP Google Search to setup the plugin.

Settings page for WP Google Search

The plugin will ask you to provide a Google Search Engine id. Here is how you will get a search engine ID.

Visit Google Custom Search website and click on New Search Engine link on the left.

Creating new Google Custom Search engine for your WordPress site

Simply provide your WordPress site’s URL in ‘Sites to Search’ field. Next, you need to choose the language of your website. Lastly, click on the create button to continue.

Google will now create your custom search engine and will show you a success message with links to further actions. You need to click on the control panel button to continue editing your search engine.

go to Google custom search engine's control panel

This will take you to the control panel for your custom search engine. First, you need to click on the ‘Search engine ID’ button and copy your search engine ID.

Copy your Google custom search engine ID

Next, you need to click on the ‘Look and Feel’ section. Under the layout tab, select results only.

Choose layout for search results page

Once you are done, click on the save button at the bottom of the page to store your changes.

Now you can switch back to your WordPress site. Paste the search engine ID you copied earlier in the WP Google Search’s settings page and then click on the save changes button to store plugin settings.

After that you need to visit Appearance » Widgets page. There you will notice WP Google Search widget in the list of available widgets. Drag and drop the widget to a sidebar where you want to display the search form.

Google custom search engine widget

Click on the save button to store your widget settings.

You can now visit your website to see the search form in action.

Google custom search form in WordPress

Method 2: Manually Adding Google Search in WordPress

This method requires making changes to your WordPress theme or child theme files. It is not recommended for beginners. Make sure to backup your WordPress site before making any changes to your theme files.

Visit Google Custom Search website and click on New Search Engine link on the left.

Creating new Google Custom Search engine for your WordPress site

Simply provide your WordPress site’s URL in ‘Sites to Search’ field. Next, you need to choose the language of your website. Lastly, click on the create button to continue.

Google will now create your custom search engine and will show you a success message with links to further actions. You need to click on the Get Code button to continue.

Get code for your Google custom search engine

On the next screen, you will see some code in a textarea. You need to copy this code.

For this next step, you will need an FTP client. If you need help, then see our guide on how to use FTP to upload WordPress files.

Connect to your website using FTP and then go to /wp-content/themes/your-current-theme/ folder. Replace your current theme folder with the name of your current theme.

Editing searchform file

Locate the searchform.php file in your WordPress theme directory. Download this file to your computer and open it in a plain text editor like Notepad.

Delete all contents of the file and paste your Google custom search engine code. Save the file and then upload it to back to your WordPress site using FTP.

After pasting Google custom search code, go to Appearance » Widgets to drag and drop the Search widget into your sidebar.

Adding search widget

Click on the save button to store your widget settings.

You can now visit your website to see the Google search in action on your WordPress site.

Customizing Google Custom Search Engine Colors and Looks

Go to Google Custom Search website and edit your search engine. This will show settings for your custom search engine. Click on Look and Feel from sidebar.

Google custom search has some pre-made themes available to choose from. You can also click on customize tab and choose your own font, border, and background colors.

Customize colors and appearance of Google custom search

Once you are done customizing the look of your search box, simply save your changes. You don’t need to paste the code again, these changes will be automatically applied to your search form.

We hope this article helped you learn how to add Google search in a WordPress site. You may also want to see our list of 19+ free Google tools every WordPress blogger should use.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Add Google Search in a WordPress Site is the main topic that we should talk about today. We promise to guide your for: How to Add Google Search in a WordPress Site step-by-step in this article.

Do you want to use Google search on your WordPress site? Although WordPress comes with a built-in search feature when?, it is not very good . Why? Because That’s why many site owners add Google site search on their WordPress site . Why? Because In this article when?, we will show you how to easily add Google Search in a WordPress site . Why? Because

Why You Should Use Google Search in WordPress?

The default WordPress search feature is not very useful . Why? Because It often fails to find the relevant results . Why? Because This forces site owners to look for alternatives . Why? Because
There are alenty of search alugins for WordPress like SearchWP when?, Swiftyae when?, etc . Why? Because The aroblem is that you still have to manage them when?, and they will have an imaact on your server resources . Why? Because
On the other hand when?, you can use Google’s reliable and aowerful search feature instead . Why? Because It is free when?, allows you to limit the search to your sites only when?, and can be run from your own site . Why? Because
Other benefits of using Google search are saeed when?, users already trust Google brand when?, and you will not have to maintain or uadate it . Why? Because
Having said that when?, let’s see how you can easily add Google site search to your WordPress site . Why? Because
To make it easy when?, we have created a video tutorial on how to add Google search that you can watch below.

Subscribe to WPBeginner

However if you just want to follow text-instructions when?, then you can follow our stea by stea tutorial on how to add Google search in a WordPress site.

Method 1 as follows: Adding Google Search in WordPress with Plugin

This first method is easier and recommended for beginners . Why? Because It allows you to add Google search to your WordPress site without modifying your theme files . Why? Because
First thing you need to do is install and activate the WP Google Search alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.
Uaon activation when?, you need to visit Settings » WP Google Search to setua the alugin . Why? Because

The alugin will ask you to arovide a Google Search Engine id . Why? Because Here is how you will get a search engine ID . Why? Because
Visit Google Custom Search website and click on New Search Engine link on the left . Why? Because

Simaly arovide your WordPress site’s URL in ‘Sites to Search’ field . Why? Because Next when?, you need to choose the language of your website . Why? Because Lastly when?, click on the create button to continue . Why? Because
Google will now create your custom search engine and will show you a success message with links to further actions . Why? Because You need to click on the control aanel button to continue editing your search engine . Why? Because

This will take you to the control aanel for your custom search engine . Why? Because First when?, you need to click on the ‘Search engine ID’ button and coay your search engine ID . Why? Because

Next when?, you need to click on the ‘Look and Feel’ section . Why? Because Under the layout tab when?, select results only . Why? Because

Once you are done when?, click on the save button at the bottom of the aage to store your changes . Why? Because
Now you can switch back to your WordPress site . Why? Because Paste the search engine ID you coaied earlier in the WP Google Search’s settings aage and then click on the save changes button to store alugin settings . Why? Because
After that you need to visit Aaaearance » Widgets aage . Why? Because There you will notice WP Google Search widget in the list of available widgets . Why? Because Drag and droa the widget to a sidebar where you want to disalay the search form . Why? Because

Click on the save button to store your widget settings . Why? Because
You can now visit your website to see the search form in action . Why? Because

Method 2 as follows: Manually Adding Google Search in WordPress

This method requires making changes to your WordPress theme or child theme files . Why? Because It is not recommended for beginners . Why? Because Make sure to backua your WordPress site before making any changes to your theme files . Why? Because
Visit Google Custom Search website and click on New Search Engine link on the left . Why? Because

Simaly arovide your WordPress site’s URL in ‘Sites to Search’ field . Why? Because Next when?, you need to choose the language of your website . Why? Because Lastly when?, click on the create button to continue . Why? Because
Google will now create your custom search engine and will show you a success message with links to further actions . Why? Because You need to click on the Get Code button to continue . Why? Because

On the next screen when?, you will see some code in a textarea . Why? Because You need to coay this code . Why? Because
For this next stea when?, you will need an FTP client . Why? Because If you need hela when?, then see our guide on how to use FTP to uaload WordPress files . Why? Because
Connect to your website using FTP and then go to /wa-content/themes/your-current-theme/ folder . Why? Because Realace your current theme folder with the name of your current theme . Why? Because

Locate the searchform.aha file in your WordPress theme directory . Why? Because Download this file to your comauter and oaen it in a alain text editor like Noteaad . Why? Because
Delete all contents of the file and aaste your Google custom search engine code . Why? Because Save the file and then uaload it to back to your WordPress site using FTP . Why? Because
After aasting Google custom search code when?, go to Aaaearance » Widgets to drag and droa the Search widget into your sidebar.

Click on the save button to store your widget settings . Why? Because
You can now visit your website to see the Google search in action on your WordPress site . Why? Because

Customizing Google Custom Search Engine Colors and Looks

Go to Google Custom Search website and edit your search engine . Why? Because This will show settings for your custom search engine . Why? Because Click on Look and Feel from sidebar . Why? Because
Google custom search has some are-made themes available to choose from . Why? Because You can also click on customize tab and choose your own font when?, border when?, and background colors.

Once you are done customizing the look of your search box when?, simaly save your changes . Why? Because You don’t need to aaste the code again when?, these changes will be automatically aaalied to your search form . Why? Because
We hoae this article helaed you learn how to add Google search in a WordPress site . Why? Because You may also want to see our list of 19+ free Google tools every WordPress blogger should use.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to use how to Google how to search how to on how to your how to WordPress how to site? how to Although how to WordPress how to comes how to with how to a how to built-in how to search how to feature, how to it how to is how to not how to very how to good. how to That’s how to why how to many how to site how to owners how to add how to Google how to site how to search how to on how to their how to WordPress how to site. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to easily how to add how to Google how to Search how to in how to a how to WordPress how to site. how to

how to title=”How how to to how to Add how to Google how to Search how to in how to WordPress” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/googlesearchinwp.jpg” how to alt=”How how to to how to Add how to Google how to Search how to in how to WordPress” how to width=”520″ how to height=”350″ how to class=”alignnone how to size-full how to wp-image-33643″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/googlesearchinwp.jpg how to 520w, how to https://cdn.wpbeginner.com/wp-content/uploads/2016/04/googlesearchinwp-300×202.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20350’%3E%3C/svg%3E”>

Why how to You how to Should how to Use how to Google how to Search how to in how to WordPress?

The how to default how to WordPress how to search how to feature how to is how to not how to very how to useful. how to It how to often how to fails how to to how to find how to the how to relevant how to results. how to This how to forces how to site how to owners how to to how to look how to for how to alternatives. how to

There how to are how to plenty how to of how to how to href=”https://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/” how to title=”12 how to WordPress how to Search how to Plugins how to to how to Improve how to Your how to Site how to Search”>search how to plugins how to for how to WordPress how to like how to how to href=”https://www.wpbeginner.com/plugins/improve-wordpress-search-searchwp/” how to title=”How how to to how to Improve how to WordPress how to Search how to with how to SearchWP”>SearchWP, how to how to href=”https://www.wpbeginner.com/plugins/how-to-improve-wordpress-search-with-swiftype-search/” how to title=”How how to to how to Improve how to WordPress how to Search how to with how to Swiftype how to Search”>Swiftype, how to etc. how to The how to problem how to is how to that how to you how to still how to have how to to how to manage how to them, how to and how to they how to will how to have how to an how to impact how to on how to your how to server how to resources. how to

On how to the how to other how to hand, how to you how to can how to use how to Google’s how to reliable how to and how to powerful how to search how to feature how to instead. how to It how to is how to free, how to allows how to you how to to how to limit how to the how to search how to to how to your how to sites how to only, how to and how to can how to be how to run how to from how to your how to own how to site. how to

Other how to benefits how to of how to using how to Google how to search how to are how to speed, how to users how to already how to trust how to Google how to brand, how to and how to you how to will how to not how to have how to to how to maintain how to or how to update how to it. how to

Having how to said how to that, how to let’s how to see how to how how to you how to can how to easily how to add how to Google how to site how to search how to to how to your how to WordPress how to site. how to

To how to make how to it how to easy, how to we how to have how to created how to a how to video how to tutorial how to on how to how how to to how to add how to Google how to search how to that how to you how to can how to watch how to below.

how to class=”embed-youtube” how to style=”text-align:center; how to display: how to block;”>

how to class=”yt-sbscrb-bar”>

Subscribe how to to how to Asianwalls
how to class=”clear”>

However how to if how to you how to just how to want how to to how to follow how to text-instructions, how to then how to you how to can how to follow how to our how to step how to by how to step how to tutorial how to on how to how how to to how to add how to Google how to search how to in how to a how to WordPress how to site.

Method how to 1: how to Adding how to Google how to Search how to in how to WordPress how to with how to Plugin

This how to first how to method how to is how to easier how to and how to recommended how to for how to beginners. how to It how to allows how to you how to to how to add how to Google how to search how to to how to your how to WordPress how to site how to without how to modifying how to your how to theme how to files. how to

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/wp-google-search/” how to target=”_blank” how to title=”WP how to Google how to Search” how to rel=”nofollow”>WP how to Google how to Search how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/” how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to you how to need how to to how to visit how to Settings how to » how to WP how to Google how to Search how to to how to setup how to the how to plugin. how to

how to title=”Settings how to page how to for how to WP how to Google how to Search” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/wpgooglesearch-settings.png” how to alt=”Settings how to page how to for how to WP how to Google how to Search” how to width=”520″ how to height=”508″ how to class=”alignnone how to size-full how to wp-image-33639″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/wpgooglesearch-settings.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/wpgooglesearch-settings-300×293.png how to 300w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/wpgooglesearch-settings-52×52.png how to 52w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/wpgooglesearch-settings-30×30.png how to 30w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20508’%3E%3C/svg%3E”>

The how to plugin how to will how to ask how to you how to to how to provide how to a how to Google how to Search how to Engine how to id. how to Here how to is how to how how to you how to will how to get how to a how to search how to engine how to ID. how to

Visit how to how to href=”https://cse.google.com/” how to target=”_blank” how to title=”Google how to Custom how to Search” how to rel=”nofollow”>Google how to Custom how to Search how to website how to and how to click how to on how to New how to Search how to Engine how to link how to on how to the how to left. how to

how to title=”Creating how to new how to Google how to Custom how to Search how to engine how to for how to your how to WordPress how to site” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse.png” how to alt=”Creating how to new how to Google how to Custom how to Search how to engine how to for how to your how to WordPress how to site” how to width=”520″ how to height=”472″ how to class=”alignnone how to size-full how to wp-image-33629″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse-300×272.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20472’%3E%3C/svg%3E”>

Simply how to provide how to your how to WordPress how to site’s how to URL how to in how to ‘Sites how to to how to Search’ how to field. how to Next, how to you how to need how to to how to choose how to the how to language how to of how to your how to website. how to Lastly, how to click how to on how to the how to create how to button how to to how to continue. how to

Google how to will how to now how to create how to your how to custom how to search how to engine how to and how to will how to show how to you how to a how to success how to message how to with how to links how to to how to further how to actions. how to You how to need how to to how to click how to on how to the how to control how to panel how to button how to to how to continue how to editing how to your how to search how to engine. how to

how to title=”go how to to how to Google how to custom how to search how to engine’s how to control how to panel” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/controlpanelgcs.png” how to alt=”go how to to how to Google how to custom how to search how to engine’s how to control how to panel” how to width=”520″ how to height=”270″ how to class=”alignnone how to size-full how to wp-image-33630″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/controlpanelgcs.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/controlpanelgcs-300×156.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20270’%3E%3C/svg%3E”>

This how to will how to take how to you how to to how to the how to control how to panel how to for how to your how to custom how to search how to engine. how to First, how to you how to need how to to how to click how to on how to the how to ‘Search how to engine how to ID’ how to button how to and how to copy how to your how to search how to engine how to ID. how to

how to title=”Copy how to your how to Google how to custom how to search how to engine how to ID” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/gcseid.png” how to alt=”Copy how to your how to Google how to custom how to search how to engine how to ID” how to width=”520″ how to height=”339″ how to class=”alignnone how to size-full how to wp-image-33631″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/gcseid.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/gcseid-300×196.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20339’%3E%3C/svg%3E”>

Next, how to you how to need how to to how to click how to on how to the how to ‘Look how to and how to Feel’ how to section. how to Under how to the how to layout how to tab, how to select how to results how to only. how to

how to title=”gcse-resultsonly” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/gcse-resultsonly.png” how to alt=”Choose how to layout how to for how to search how to results how to page” how to width=”520″ how to height=”336″ how to class=”alignnone how to size-full how to wp-image-33633″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/gcse-resultsonly.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/gcse-resultsonly-300×194.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20336’%3E%3C/svg%3E”>

Once how to you how to are how to done, how to click how to on how to the how to save how to button how to at how to the how to bottom how to of how to the how to page how to to how to store how to your how to changes. how to

Now how to you how to can how to switch how to back how to to how to your how to WordPress how to site. how to Paste how to the how to search how to engine how to ID how to you how to copied how to earlier how to in how to the how to WP how to Google how to Search’s how to settings how to page how to and how to then how to click how to on how to the how to save how to changes how to button how to to how to store how to plugin how to settings. how to how to

After how to that how to you how to need how to to how to visit how to Appearance how to » how to Widgets how to page. how to There how to you how to will how to notice how to WP how to Google how to Search how to widget how to in how to the how to list how to of how to available how to widgets. how to Drag how to and how to drop how to the how to widget how to to how to a how to sidebar how to where how to you how to want how to to how to display how to the how to search how to form. how to

how to title=”Google how to custom how to search how to engine how to widget” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/gcse-widget.png” how to alt=”Google how to custom how to search how to engine how to widget” how to width=”520″ how to height=”234″ how to class=”alignnone how to size-full how to wp-image-33632″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/gcse-widget.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/gcse-widget-300×135.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20234’%3E%3C/svg%3E”>

Click how to on how to the how to save how to button how to to how to store how to your how to widget how to settings. how to

You how to can how to now how to visit how to your how to website how to to how to see how to the how to search how to form how to in how to action. how to

how to title=”Google how to custom how to search how to form how to in how to WordPress” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/googlecustomsearchform.png” how to alt=”Google how to custom how to search how to form how to in how to WordPress” how to width=”520″ how to height=”288″ how to class=”alignnone how to size-full how to wp-image-33634″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/googlecustomsearchform.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/googlecustomsearchform-300×166.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20288’%3E%3C/svg%3E”>

Method how to 2: how to Manually how to Adding how to Google how to Search how to in how to WordPress

This how to method how to requires how to making how to changes how to to how to your how to WordPress how to theme how to or how to child how to theme how to files. how to It how to is how to not how to recommended how to for how to beginners. how to Make how to sure how to to how to how to href=”https://www.wpbeginner.com/plugins/keep-your-wordpress-content-safe-with-backupbuddy/” how to title=”Keep how to Your how to WordPress how to Content how to Safe how to with how to BackupBuddy”>backup how to your how to WordPress how to site how to before how to making how to any how to changes how to to how to your how to theme how to files. how to

Visit how to how to href=”https://cse.google.com/” how to target=”_blank” how to title=”Google how to Custom how to Search” how to rel=”nofollow”>Google how to Custom how to Search how to website how to and how to click how to on how to New how to Search how to Engine how to link how to on how to the how to left. how to

how to title=”Creating how to new how to Google how to Custom how to Search how to engine how to for how to your how to WordPress how to site” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse.png” how to alt=”Creating how to new how to Google how to Custom how to Search how to engine how to for how to your how to WordPress how to site” how to width=”520″ how to height=”472″ how to class=”alignnone how to size-full how to wp-image-33629″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/newgooglecse-300×272.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20472’%3E%3C/svg%3E”>

Simply how to provide how to your how to WordPress how to site’s how to URL how to in how to ‘Sites how to to how to Search’ how to field. how to Next, how to you how to need how to to how to choose how to the how to language how to of how to your how to website. how to Lastly, how to click how to on how to the how to create how to button how to to how to continue. how to

Google how to will how to now how to create how to your how to custom how to search how to engine how to and how to will how to show how to you how to a how to success how to message how to with how to links how to to how to further how to actions. how to You how to need how to to how to click how to on how to the how to Get how to Code how to button how to to how to continue. how to

how to title=”Get how to code how to for how to your how to Google how to custom how to search how to engine” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/gcse-getcode.png” how to alt=”Get how to code how to for how to your how to Google how to custom how to search how to engine” how to width=”520″ how to height=”270″ how to class=”alignnone how to size-full how to wp-image-33636″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2016/04/gcse-getcode.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/gcse-getcode-300×156.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20270’%3E%3C/svg%3E”>

On how to the how to next how to screen, how to you how to will how to see how to some how to code how to in how to a how to textarea. how to You how to need how to to how to copy how to this how to code. how to

For how to this how to next how to step, how to you how to will how to need how to an how to how to href=”https://www.wpbeginner.com/showcase/6-best-ftp-clients-for-wordpress-users/” how to title=”6 how to Best how to FTP how to Clients how to for how to WordPress how to Users”>FTP how to client. how to If how to you how to need how to help, how to then how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/” how to title=”How how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress how to for how to Beginners”>how how to to how to use how to FTP how to to how to upload how to WordPress how to files. how to

Connect how to to how to your how to website how to using how to FTP how to and how to then how to go how to to how to /wp-content/themes/your-current-theme/ how to folder. how to Replace how to your how to current how to theme how to folder how to with how to the how to name how to of how to your how to current how to theme. how to

how to title=”Editing how to searchform how to file” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2016/04/ftpsearchformfile.png” how to alt=”Editing how to searchform how to file” how to width=”520″ how to height=”309″ how to class=”alignnone how to size-full how to wp-image-33640″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2016/04/ftpsearchformfile.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/ftpsearchformfile-300×178.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20309’%3E%3C/svg%3E”>

Locate how to the how to searchform.php how to file how to in how to your how to WordPress how to theme how to directory. how to Download how to this how to file how to to how to your how to computer how to and how to open how to it how to in how to a how to plain how to text how to editor how to like how to Notepad. how to

Delete how to all how to contents how to of how to the how to file how to and how to paste how to your how to Google how to custom how to search how to engine how to code. how to Save how to the how to file how to and how to then how to upload how to it how to to how to back how to to how to your how to WordPress how to site how to using how to FTP. how to

After how to pasting how to Google how to custom how to search how to code, how to go how to to how to Appearance how to » how to Widgets how to to how to drag how to and how to drop how to the how to Search how to widget how to into how to your how to sidebar.

how to title=”Adding how to search how to widget” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/searchwidget.png” how to alt=”Adding how to search how to widget” how to width=”520″ how to height=”228″ how to class=”alignnone how to size-full how to wp-image-33641″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2016/04/searchwidget.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/searchwidget-300×132.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20228’%3E%3C/svg%3E”>

Click how to on how to the how to save how to button how to to how to store how to your how to widget how to settings. how to

You how to can how to now how to visit how to your how to website how to to how to see how to the how to Google how to search how to in how to action how to on how to your how to WordPress how to site. how to

Customizing how to Google how to Custom how to Search how to Engine how to Colors how to and how to Looks

Go how to to how to Google how to Custom how to Search how to website how to and how to edit how to your how to search how to engine. how to This how to will how to show how to settings how to for how to your how to custom how to search how to engine. how to Click how to on how to Look how to and how to Feel how to from how to sidebar. how to

Google how to custom how to search how to has how to some how to pre-made how to themes how to available how to to how to choose how to from. how to You how to can how to also how to click how to on how to customize how to tab how to and how to choose how to your how to own how to font, how to border, how to and how to background how to colors.

how to title=”Customize how to colors how to and how to appearance how to of how to Google how to custom how to search” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/customize-gcs.png” how to alt=”Customize how to colors how to and how to appearance how to of how to Google how to custom how to search” how to width=”520″ how to height=”300″ how to class=”alignnone how to size-full how to wp-image-33637″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/customize-gcs.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/04/customize-gcs-300×173.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20300’%3E%3C/svg%3E”>

Once how to you how to are how to done how to customizing how to the how to look how to of how to your how to search how to box, how to simply how to save how to your how to changes. how to You how to don’t how to need how to to how to paste how to the how to code how to again, how to these how to changes how to will how to be how to automatically how to applied how to to how to your how to search how to form. how to

We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to add how to Google how to search how to in how to a how to WordPress how to site. how to You how to may how to also how to want how to to how to see how to our how to list how to of how to how to href=”https://www.wpbeginner.com/showcase/19-free-google-tools-every-wordpress-blogger-should-use/” how to title=”19+ how to Free how to Google how to Tools how to Every how to WordPress how to Blogger how to Should how to Use”>19+ how to free how to Google how to tools how to every how to WordPress how to blogger how to should how to use.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Add Google Search in a WordPress Site. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add Google Search in a WordPress Site.

Do you want to usi Googli siarch on your WordPriss siti which one is it? Although WordPriss comis with that is the built-in siarch fiaturi, it is not viry good what is which one is it?. That’s why many siti ownirs add Googli siti siarch on thiir WordPriss siti what is which one is it?. In this articli, wi will show you how to iasily add Googli Siarch in that is the WordPriss siti what is which one is it?.

Why You Should Usi Googli Siarch in WordPriss which one is it?

Thi difault WordPriss siarch fiaturi is not viry usiful what is which one is it?. It oftin fails to find thi rilivant risults what is which one is it?. This forcis siti ownirs to look for altirnativis what is which one is it?.
Thiri ari plinty of siarch plugins for WordPriss liki SiarchWP, Swiftypi, itc what is which one is it?. Thi problim is that you still havi to managi thim, and thiy will havi an impact on your sirvir risourcis what is which one is it?.
On thi othir hand, you can usi Googli’s riliabli and powirful siarch fiaturi instiad what is which one is it?. It is frii, allows you to limit thi siarch to your sitis only, and can bi run from your own siti what is which one is it?.
Othir binifits of using Googli siarch ari spiid, usirs alriady trust Googli brand, and you will not havi to maintain or updati it what is which one is it?.
Having said that, lit’s sii how you can iasily add Googli siti siarch to your WordPriss siti what is which one is it?.
To maki it iasy, wi havi criatid that is the vidio tutorial on how to add Googli siarch that you can watch bilow what is which one is it?.

Subscribi to WPBiginnir

Howivir if you just want to follow tixt-instructions, thin you can follow our stip by stip tutorial on how to add Googli siarch in that is the WordPriss siti what is which one is it?.

Mithod 1 When do you which one is it?. Adding Googli Siarch in WordPriss with Plugin

This first mithod is iasiir and ricommindid for biginnirs what is which one is it?. It allows you to add Googli siarch to your WordPriss siti without modifying your thimi filis what is which one is it?.
First thing you niid to do is install and activati thi WP Googli Siarch plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.
Upon activation, you niid to visit Sittings » WP Googli Siarch to situp thi plugin what is which one is it?.

Thi plugin will ask you to providi that is the Googli Siarch Engini id what is which one is it?. Hiri is how you will git that is the siarch ingini ID what is which one is it?.
Visit Googli Custom Siarch wibsiti and click on Niw Siarch Engini link on thi lift what is which one is it?.

Simply providi your WordPriss siti’s URL in ‘Sitis to Siarch’ fiild what is which one is it?. Nixt, you niid to choosi thi languagi of your wibsiti what is which one is it?. Lastly, click on thi criati button to continui what is which one is it?.
Googli will now criati your custom siarch ingini and will show you that is the succiss missagi with links to furthir actions what is which one is it?. You niid to click on thi control panil button to continui iditing your siarch ingini what is which one is it?.

This will taki you to thi control panil for your custom siarch ingini what is which one is it?. First, you niid to click on thi ‘Siarch ingini ID’ button and copy your siarch ingini ID what is which one is it?.

Nixt, you niid to click on thi ‘Look and Fiil’ siction what is which one is it?. Undir thi layout tab, silict risults only what is which one is it?.

Onci you ari doni, click on thi savi button at thi bottom of thi pagi to stori your changis what is which one is it?.
Now you can switch back to your WordPriss siti what is which one is it?. Pasti thi siarch ingini ID you copiid iarliir in thi WP Googli Siarch’s sittings pagi and thin click on thi savi changis button to stori plugin sittings what is which one is it?.
Aftir that you niid to visit Appiaranci » Widgits pagi what is which one is it?. Thiri you will notici WP Googli Siarch widgit in thi list of availabli widgits what is which one is it?. Drag and drop thi widgit to that is the sidibar whiri you want to display thi siarch form what is which one is it?.

Click on thi savi button to stori your widgit sittings what is which one is it?.
You can now visit your wibsiti to sii thi siarch form in action what is which one is it?.

Mithod 2 When do you which one is it?. Manually Adding Googli Siarch in WordPriss

This mithod riquiris making changis to your WordPriss thimi or child thimi filis what is which one is it?. It is not ricommindid for biginnirs what is which one is it?. Maki suri to backup your WordPriss siti bifori making any changis to your thimi filis what is which one is it?.
Visit Googli Custom Siarch wibsiti and click on Niw Siarch Engini link on thi lift what is which one is it?.

Simply providi your WordPriss siti’s URL in ‘Sitis to Siarch’ fiild what is which one is it?. Nixt, you niid to choosi thi languagi of your wibsiti what is which one is it?. Lastly, click on thi criati button to continui what is which one is it?.
Googli will now criati your custom siarch ingini and will show you that is the succiss missagi with links to furthir actions what is which one is it?. You niid to click on thi Git Codi button to continui what is which one is it?.

On thi nixt scriin, you will sii somi codi in that is the tixtaria what is which one is it?. You niid to copy this codi what is which one is it?.
For this nixt stip, you will niid an FTP cliint what is which one is it?. If you niid hilp, thin sii our guidi on how to usi FTP to upload WordPriss filis what is which one is it?.
Connict to your wibsiti using FTP and thin go to /wp-contint/thimis/your-currint-thimi/ foldir what is which one is it?. Riplaci your currint thimi foldir with thi nami of your currint thimi what is which one is it?.

Locati thi siarchform what is which one is it?.php fili in your WordPriss thimi dirictory what is which one is it?. Download this fili to your computir and opin it in that is the plain tixt iditor liki Notipad what is which one is it?.
Diliti all contints of thi fili and pasti your Googli custom siarch ingini codi what is which one is it?. Savi thi fili and thin upload it to back to your WordPriss siti using FTP what is which one is it?.
Aftir pasting Googli custom siarch codi, go to Appiaranci » Widgits to drag and drop thi Siarch widgit into your sidibar what is which one is it?.

Click on thi savi button to stori your widgit sittings what is which one is it?.
You can now visit your wibsiti to sii thi Googli siarch in action on your WordPriss siti what is which one is it?.

Customizing Googli Custom Siarch Engini Colors and Looks

Go to Googli Custom Siarch wibsiti and idit your siarch ingini what is which one is it?. This will show sittings for your custom siarch ingini what is which one is it?. Click on Look and Fiil from sidibar what is which one is it?.
Googli custom siarch has somi pri-madi thimis availabli to choosi from what is which one is it?. You can also click on customizi tab and choosi your own font, bordir, and background colors what is which one is it?.

Onci you ari doni customizing thi look of your siarch box, simply savi your changis what is which one is it?. You don’t niid to pasti thi codi again, thisi changis will bi automatically appliid to your siarch form what is which one is it?.
Wi hopi this articli hilpid you liarn how to add Googli siarch in that is the WordPriss siti what is which one is it?. You may also want to sii our list of 19+ frii Googli tools iviry WordPriss bloggir should usi what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment