Guide To Insert AdSense For Search In WordPress


Google AdSense is an awesome way to make money online. In this post, we will show you that how can you insert AdSense for search in WordPress without using any plugin or messing up with codes.

How To Insert AdSense For Search In WordPress

First of all, log in to your Google AdSense account and go to my ads section.

Insert AdSense For Search In WordPress

Under the ads, you can see an option for search engines.

adsense for search

From there, you can create a new search engine for your website.

new seearch channel

Simply name your custom search engine and choose the websites that you need to show the search results. In my case, I don’t need to add search results from the entire web. I only need results of my own blog.

search engine setup

Customize the search results then. I need to show the search results on my blog’s page. So, I need to create a page first. Just create a blank page there.

aprilegg search page

On the search results page, you need to enter your search page URL that we just created.

adsense search results

The system will generate a code for you.

adsense codes

You need to copy the search results code from there.

search results codes

Just get back your page, go to the text editor mode and paste the copied code there. Don’t forget to update the page.

search results code in WordPress

Go to widgets section and add a custom HTML widget to the sidebar or wherever you need to add the search box.

html search widgets

Now, copy the search box code from the page.

search box codes

Paste it in the HTML widget box and save changes.

adsense for search box widget

That’s all. Now, let’s check the live action.

Insert AdSense For Search In WordPress

It is working!

This is how you can simply insert AdSense for search in WordPress. We hope you found this tutorial helpful and enjoyed the read. If you did, please consider sharing our article with your friends on social media. We would love to share more related topics.


Leave a Reply