Add Google Adsense Below Blog Header In WordPress 3.2 Twenty Eleven

Spread the love

I was dying to know how to Add Google adsense below blog header in WordPress 3.2 Twenty Eleven.But after a long search in Google i was unable to find the trick to add Google Adsense Link unit below Header.Then i tried with using some common sense and finally i succeed to do this.

Add_Google_ads_just_below_header

Add_Google_ads_just_below_header

The style of add integration that i am discussing is if you need to place a kind of banner ad or link unit which is available in Google Adsense.This is a very useful ad unit space in your blog.Cause in the first sight people will see this unit and the units are integrated like the tabs of the blog.So, people go for those tabs and you earn money from those ads easily.

Initially before adding the Google Adsense to my blog i was thinking that i will get the instruction easily from the internet.But i was surprised because though i have got some articles describing this but no one was helpful.Then i finally used some common sense and was finally able to integrate the ad unit in the right position in my blog.Below are the steps how to place the Google Link Unit just under the Header of the blog.

1. First of all Log into your Google Adsense account and get the desired code for the link unit.To do this you need to click on “My ads” tab and then need to create “New ad unit”.If you do not know this then just go to Creating an ad unit.Here you will get all the available instruction.

Place_google_ad_below_header

Place_google_ad_below_header

2. Then after getting the code just log in to your wordpress account and go to Editor and then Header.php file in the editor.

3.Go to the bottom of the codes and in the last just paste the code which you have got from the Google Adsense.

4.Now you will see that your Link ads are showing but this is not centered.To make it centered just add two things.

5. Add <center> in the first of the Google Adsense Code and </center> in the last of the Google Adsense Code.Now you are done.

Please follow the steps above and get the desired ad unit in the desired place.Happy blogging!

Himadri Subrah Saha

Himadri is an ICT Professional who writes for his technology tips & tricks related blog TechnTechie. Though it is hard to balance time in between professional life and blogging, he still manages time to work for his own blog and writes almost regularly. The dashboard of this WordPress is the only place where he does not feel tired! Read my other blogs @ PetCare and Teleinfo

0 0 votes
Article Rating

Subscribe
Notify of
guest

4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Neil
11 years ago

I’m not sure why it removed the code I pasted in between the ” “… But if anyone is wondering what my solution was, you simply post it just BEFORE the div id main tag at the very end of header.php to remove the gap, at least that’s what worked for me!
Thank you again, Himadrisaha.

Robin L Marshall
Robin L Marshall
11 years ago

THANK YOU!!! I spent my entire day trying to add adsense under the navigation and finally stumbled on your post. It worked EXACTLY how you instructed… and I did it in 3 minutes!!

Himadri
11 years ago

@google-51016ef8c3035c87296d13b472e5fed4:disqus and @276e6a8ac25a96d363e7d8334e58c17d:disqus ….I am happy that my tips worked for both of you.I write these articles so that you get some help from those.Its my pleasure!

Happy man
Happy man
11 years ago

Big thanks for you 🙂 clicked on your ad to thank you . 😀 Happy earnings

4
0
Would love your thoughts, please comment.x
()
x