What if, instead of adding the search feature to your entire site, you want to display it on specific pages or posts only? To make that happen, you’ll need to use a shortcode instead of a widget. Step 4 (Optional): Display the Search Bar Using a Shortcode By default, the results will appear as an overlay across your website. Visitors can now interact with Google by typing into the search box. Click on Save when you’re ready, and the search bar will appear on your website. You can add a title to your widget, or hide the title completely. Navigate to Appearance > Widgets, find the WP Google Search widget, and drag it to the sidebar where you want to display your search feature: You can now add the new search bar to your website, using the WP Google Search widget. Step 3: Add the Search Bar to Your Site Using a Widget You can then navigate to Settings > WP Google Search, and paste that number into the Google Search Engine ID field. Next, copy your search engine ID and switch back to your WordPress dashboard. This can be useful if you want to encourage visitors to explore your content, rather than pushing them towards external resources: You can then select the Restrict search results to region slider:įinally, you can choose whether to restrict your search to specific websites, or even limit searches to your site only. To do this, make your selection in the Region drop-down menu. You can also restrict search results based on region. This includes enabling or disabling Google Image Search and SafeSearch: There you can configure your search settings. In the left-hand menu, select Edit search engine > Setup. Step 2: Manage Your Google Search Settings Click on Save, and Google will generate your Custom Search Engine. You can then give your search engine a name. In Sites to Search, enter your website’s URL: To generate this ID, head to the Programmable Search Engine and select Get Started. You can then generate a Google Search Engine ID, which is how you’ll communicate with the Google Search service. Once you’ve installed and activated WP Google Search, the next step is registering with the Google Custom Search Engine. Let’s walk through how that process works, in just four steps. You can then add the Google search box to your site using either a shortcode or a custom widget. This tool lets your visitors search the entire web, or you can narrow the search to a list of approved sites. You can add a Google search bar to any page or post using the WP Google Search plugin.
How to Add Google Site Search to WordPress With a Plugin In this article, we’ll be sharing two separate ways you can add this search bar to your WordPress website.
This feature is also free to use, and easy to implement. That can encourage visitors to spend more time on your site, rather than pointing them in the direction of third-party content. This includes the ability to limit searches to your website. Google’s search bar is reliable and powerful, and has a range of customization options. This provides a more seamless user experience for them, since they’ll immediately know how to interact with your website’s search. The majority of your visitors will likely have previous experience with Google’s search bar. It’s estimated that 40–60 billion searches happen on Google in the US alone, every single month. The Google search bar is instantly recognizable to many people. By featuring a Google search bar on your website, you can help legitimize your business in your customers’ eyes, and offer them a better experience. Let’s get started! What Benefits Does Adding Google Site Search to Your WordPress Site Offer?
We’ll show you how to add this option to any page or post, and even how to code Google search into your website’s theme. In this article, we’ll cover two ways to add Google search to your WordPress website.