Replace wordpress search with Google Adsense for Search
Well if you notice that my blog’s default search box has been replaced with Google Adsense for Search box. And if you search for anything, results are shown right in my blog and not on Google page. How to do this?
Well so I am writing a guide on how to achieve this. This guide will work for any wordpress template and across almost all wordpress versions.
Steps to add search page in your blog:
1. Login to your Adsense account and go to ‘My Ads’ and then click on ‘Search’ and then select ‘Custom Search Engines’.
2. Now click the +New Custom Search button at top. You will see the following screen. (I have expanded all the possible options)
3. Now fill in the options. Since you are creating it for your blog/site, select the option ‘Only sites I select’ against ‘What to search’ option. Select Continue reading