Stop wasting time and money!

Easily create your WordPress website or blog today.

Elementor is the easiest and most importantly, the fastest tool to create any type of WordPress website or blog. No technical knowledge is required and is perfect for beginners or professional users. You can do it yourself so do it!

Adding a search engine to your site can help many readers and visiteurs to find what they are looking for on your site, to improve satisfaction and therefore conversion.

Indeed there are several plugins available that allow you to integrate search engines on your WordPress blog such as Lift: Search for WordPress.

But for those who don't want to install these plugins, there is another option that allows you to replace the search engine of your WordPress blog by a personalized Google search engine. Install this plugin and do not watch the rest.

In this tutorial, we will show you how to add a Google search engine to your WordPress blog right now.

add-on-google-wordpress

Create a Google Custom Search Engine for your WordPress Blog

To start, go to this address Google custom Search Engine, and log in with your Gmail credentials. Once connected, click on " New Search Engine "(New search engine) and provide the address of your WordPress blog.

The URL of your blog will also be used as the name of your search engine in the custom search engine creation interface. Then click on the button Create » (Create) to access the next step.

how add-engine search-google-blog

On the next page, you will receive a confirmation of the creation of your personalized Google search engine. An option will be offered, it will allow you to add the search engine to your blog or to retrieve the public URL of the latter. To add your search engine to your WordPress blog, click on the button « Get Code "(Get the code).

Form-google-search

After getting the code, copy it because it will be useful for the next step.

Add the Google Custom search engine to your WordPress blog. Go to the location Appearance >> Editor in the admin area of ​​your blog and click on the file " searchform.php Open the file in the editor. Paste the code recovered earlier in this file. Make sure the file does not contain anything other than the code retrieved from Google.

If your theme does not have the file searchform.php Then you will need to create one using a text editor, such as Notepad and upload the saved file to the folder corresponding to your theme using an FTP client.

After pasting the code from your custom Google search engine, navigate to this location on Appearance >> Widgets and drag the widget « Search In the list of available widgets.

tutorial-wordpress-google

You can go to your site to see how the widget looks. Customize the colors and appearance of your Google search engine. Go to the Google page which allows you to create a personalized search engine, and modify your search engine.

You can make some configurations on your search engine. The search engine customization interface gives you a few Themes already predefined, which can be further customized.

After making the changes, save the changes by clicking on the button " Save "(record).

form-search-google

We hope this tutorial will allow you to integrate a custom Google search engine on your WordPress blog. If you have any remarks, please let us know. If you liked this tutorial, please share it on social media.

%d bloggers like this page: