If your Google custom search engine search box not showing, we suggest you check a few things. The search box may begin to show up again.
Integrating Google Custom Search Engine (CSE) into your website or blog is a pretty easy thing to do. Just open a Google account, go to the CSE page, create a new search engine, get the code, and paste it into your website but what to do if google custom search engine search box not showing on your blog or website?
It's easy, and you get all the benefits of using Google's custom search engine on your website.
One of the most annoying problems is that the Google custom search engine search box not showing, and you get no idea why this is happening. We have noticed two small mistakes, which, if made, can make the Google custom search engine search box not show or disappear.
You may also like to read:
- 13 Honest Reasons Why you Should not Start a Blog
- 7 Easy Ways to View or Mirror Phone Screen on PC Free
- How to Clean and Sanitize Keyboard in 12 Minute
- Solution to Easily use Your Phone as Webcam for Mac or Windows 10
- How to Recover a Hacked Facebook Account in 5 Essential Ways
How to Add Google Custom Search
Google Custom Search Engine (CSE) Search Box Not Showing On Website?
Fix Google custom search engine search box not showing on website in: 33 minutes
Click on my ads
Sign in to
Adsenseand then click on my ads tab. Click on search >>> Then custom search engines.
After that, click on the new custom search engine.
Provide the name for your custom search engine. After that, select ONLY SITES I SELECT. Then easily specify your website name.
Modify the below options as you need. Custom Channel >>> Search box style >>> Themes
Under the Search results option, make sure to have the below settings correct:
Search results: ON MY WEBSITE ONLY
URL where search results will be displayed: Your blog’s specified search results page.
Select the Two Column layout, click on the Save button and save and get both codes.
1. SEARCH BOX CODE
2. SEARCH RESULTS CODE
After that, go to your site and create a specified search page.
Paste results code
On the search page, paste the search results code and click save.
Paste search code
Go to appearance >>> Widgets section, paste search box code, and click save.
Estimated Cost: 00 USD
Please Review the Documents Below From Google for Guidance
Include Google Custom Search Engine (CSE) to WordPress Site
It is free, allows you to limit the search to your sites only, and can be run from your own site, but what to do if the Google custom search engine search box not showing?
Let’s Understand Problems and Their Solutions
The default WordPress search feature is not very useful. It often fails to find relevant results. This forces site owners to look for alternatives. You can use Google’s reliable and robust search feature instead.
Reason 1: Unclosed Form Tag in CSE
If you have another form on your web page and forget to close the CSE form tag, the CSE search box may not appear (especially if the CSE code comes after another form). Forgetting to close the form tag with </form> is a common mistake by web developers. See if that is the case with you to fix the Google custom search engine search box not showing error.
For implementing a Custom Search Engine on your webpage, google provides you with a three-part code. These parts are:
- Search box markup ( <gcse:searchbox></gcse:searchbox> )
- Search result markup ( <gcse:searchresults-only></gcse:searchresults-only> )
The search box markup and search results markup must appear on your webpage if search box markup fails to detect search results markup –the Google custom search engine search box not showing or not appearing.
Why do we Need a CSE Custom Search Engine?
It’s very critical to provide better search functionality on site. Usually, the main page contains posts less than 10, but your blog users may get the best-related articles from Search only in most cases.
Plus, much Faster Search results than default WordPress Search + Good for your site’s SEO as Google knows this result list from the search query and doesn’t add it to a duplicate content list.
In WordPress, for example, every theme has various types of web pages, namely post, page, category, etc. Usually, people add search box markup in the HEADER portion of the code.
You’ll need to add the search results markup in every type of page code at a position where you wish to show Google’s search results. If you add this markup only, say, in the file that displays post (mostly single.php) –the search box will not appear in other types of web pages.
More interesting articles for you:
- How to Protect Your Smart Home From Hackers
- Attract Readers to Your Blog With 17 Easy and Remarkable Ways
- How to Make Firefox Faster than Chrome With 7 Easy Solutions
- 89 High Domain Authority DoFollow Article Submission Sites
- 207 High Domain Authority Backlink Sites to Increase Traffic
Final Solution – Google Custom Search Engine Search Box not Showing
If everything fails, we recommend using the code below to fix the Google custom search engine search box not showing.
Code Source: freecodecamp
And then in the “HTML Embed” sections in your design, only
FAQs: Google Custom Search Engine Search Box Not Showing
How to install and activate the WP Google Search plugin?
To get a Google Custom Search field on your website, you first need to install and activate the plugin. You can do this by jumping over to the Plugins page in the WordPress admin dashboard. Use the search field provided and search the plugin wp google search. When it pops up, please install and activate it from there.
How to get a google search engine ID?
Once on the settings page, you will have some fill-out options. However, the first thing you need to do is get a Google Search Engine ID. You can see at the very top of the settings page there is a box. Use the link provided and bring your ID from there. The process is simple.
How to create a page for search results for google custom search?
Now that you have your ID in place, you can go ahead and finish configuring the settings page. There are some options you can choose from. One of the more important ones to pay attention to is the “Search Page Target URL” field.
This is the page you have created for search results. When someone uses Google Custom Search on your website, they will be bounced to another page within your site to get results. So set the page you have created for that here.
Conclusion – Google Custom Search Engine Search Box Not Showing
Google Custom Search in WordPress will deliver the power of the most popular search engine in the world to the hands of your visitors. With the incredible level of customization, you can provide a unique experience to those who use the system. Take your site further by offering Google Search on a WordPress site that is engaging and highly accurate.
Google CSE is an excellent tool to enhance your site. Visitors will get better search results. Moreover, you can monetize your site results using Google Adsense.
We hope this article was helpful for you and saved you some time. Please let me know if you have any questions on this topic.