
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. 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.






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.

/wp-content/themes/your-current-theme/
folder. Replace your current theme folder with the name of your current theme.


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.
评论已关闭