≡ Menu

How to Add Adsense 468×60 Banner Ad in TechMaish Theme Header?

As per the request of TechMaish Theme users, i am going to write the tutorial about how you can place adsense 468×60 banner or text Ad in your blog header.

Checkout the screen shot for the location where the adsense ad will be placed in the header section.

adsense ad in techmaish

468×60 Adsense Ad in Techmaish Theme

How to Place Adsense Code in Header?

1:- Go to Dashboard>Appearance>Editor>

2:- Select header.php file

3:- Find the code div class=”headeradd”>



4:- Now select the code inside div class=”headeradd”> and </div> and replace it with the adsense code.

In order to place the adsense code in the right place, checkout the below screen shot.

banner ad

5:- After adding the adsense code for 468×60 Ad, click on the “Update File” button located at the end of the page.

Visit your blog and now you will see adsense added in your blog header section. Also check out some high paying cpm ad networks to make more money from your blog.

Let me know if you face any problem during implementing the code.

{ 17 comments… add one }
  • yogesh

    May 12, 2013, 3:57 am

    Hello Bilal Ahmed
    The post is very informative and useful.How ca i places my ads (ads placement) in techmaish theme to earn good amount of money from google adsense.

  • Technology News

    March 6, 2013, 12:14 pm

    Images are not displaying on home page 🙁

  • tarun

    January 16, 2013, 2:52 pm

    i have some problem with theme i add some ads on my side bar its runs but i add some ads on my post side bar ads automatic hidden what should i do remove this problem i use latest version of theme?

    • Bilal Ahmad

      January 16, 2013, 6:01 pm

      Tarun@ Sorry I am not getting your point. Can you explain a bit more?

  • Deepak Kumar Achary

    November 26, 2012, 2:17 pm

    Nice article,i really impressed.Good technique for a newbie to intregrate google adsense code at the top of blog.

  • Ashwani Kumar Singh

    July 1, 2012, 10:07 am

    hey Bilal please help me also the ad is not showing up even after putting the code in header.php file…please help…:(

  • Bilal Ahmad

    June 15, 2012, 10:17 pm

    Priyanka and Dinesh@ Are you looking in the header.php file. Make sure you are inside header.php in order to add the code.

    If you are still unable to add the code, then drop me a mail so that i can personally add the code for you.

  • ashwani

    June 15, 2012, 9:52 pm

    ya same problem for me also…ads are not showing up in the header even after doing what Bilal told above in the post…..:(

  • Dinesh Thakur

    June 9, 2012, 6:07 am

    I followed your instructions, but does not work for my blog. Do have any idea why ads are not displaying?

  • Priyanka

    May 29, 2012, 12:02 am

    I did just like written here. But the ads are not showing 🙁

  • Elizabeth@Table for Five

    May 28, 2012, 12:47 am

    I’m confused! I downloaded TechMaish last night, I’m running WP 3.3.2, and my code looks like this:

    #header .headeradd {
    border:0 solid silver;

    In my TechMaish options, I have this:
    Show 468×60 Header Ad ? (checkbox)
    468×60 Ad Banner (box for code)
    468×60 Ad Link (box for code)

    I want to put an Amazon Associates banner there, but it’s iframe code and no matter how I tweak it, it won’t display an ad. Help would be greatly appreciated, thanks!

    • Bilal Ahmad

      May 28, 2012, 11:23 pm

      Elizabeth@ If you want to add amazon associates banner within post then go to HTML Mode and paste your amazon code and directly publish your article in HTML Mode. Then the amazon banner will appear in the post. If you paste the code and revert to “Visual” mode then the banner will not display.

  • Free Facebook Likes

    April 22, 2012, 7:31 pm

    Your article for adding Google adsense on header is right for techmaish. Thanks!

  • ramesh

    March 3, 2012, 6:49 pm

    can u plz tell me how to create a blue box around the sidebar that you have now? also changing the background of it? plz pa guide me

  • Nwosu Desmond

    January 18, 2012, 7:47 am

    Glad you posted this, i have been wondering how i can do this……

    • Bilal Ahmad

      January 21, 2012, 8:58 pm

      I hope your problem is resolved now.

      • Syed Qasim

        July 13, 2012, 5:51 pm

        But Bilal, there is an option in techmaish theme for adding 468×60 banner in header. So can we use that option?.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.