Your Ad Here

Sunday, November 8, 2009

Google adsense for your wordpress theme (Part 1)

In this tutorial you are going to learn how to tweak your wordpress theme and place google adsense ads or ads from any other network in your wordpress blog.

Best positions to place ads:

If you have a three column template the best positions for adsense ads would be a 160*600 banner in the sidebar , a 160*90 linked unit above the 160*600 banner and large rectangle or 468* 60 ad unit just after the title of your post and at the end of your post.

If you have a 2 column template the best positions are a square linked unit in the side bar and a large rectangle or 468*60 ad unit just after the title of your post and at the end of your post. If your theme is wide enough to accommodate a 768*90 ad then use it before and after your post.

How to choose the colours of your Google ads:

Try to match the Google ads with the content of your site. Set the title color of your ad as the title colour, text colour as the color of your content and link color as the links in your content. Have the background and border same as your theme background.

A small tip on getting the exact colour codes:

Take a screen shot of your blog (Use print screen key on your keyboard) and open photo shop, select new press ctr+v and then use the color picker to get the exact colour codes



Let’s go on with the actual part:

First decide how many types (linked unit, large rectangle, lead board etc) of ads you want to display.

For Example if you decide to place the following ad units in your wordpress blog

· Horizontal linked ad unit

· 468*60 ad unit and

· 460*60 referral unit

Open notepad, paste the adsense code for horizontal linked unit in note pad and save it as horilinked.inc

Note: Don’t forget to select all types when saving the file in windows.

Repeat the above step for all the ad units and upload those files to wp-content>themes>XXXX

(In case your theme name is XXXX)

2 comments:

  1. I still cannot believe my eyes about how to hack into hotmail services from ActiveHackers.com

    http://www.activehacker.org/how-to-hack-hotmail-password.php

    I needed my boyfriends hotmail password badly, thanks to ActiveHackers.com for providing this great how to hack into hotmail accounts. I found out my bf was cheating on my love for 2years. Service of ActiveHackers.com was fast, accurate, discreet and fairly priced. Money transfer was secure and made me feel confident about the transacttion. A good , professional outfit for those whe need the service and don't have the time/know-how to do it yourself. I highly recommend this site!

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, New York, US

    ReplyDelete