February 6, 2009

How to Add Adsense to Wordpress Without any Adsense Plugin

adsense-wordpress I realize recently that people who migrate from blogspot to wordpress are facing lots of problem adding Google adsense code to their wordpress blog.

Adding adsense to wordpress is very easy. Even if you are not familiar with wordpress, you can add it in minutes.

This article is for those who wants to show their advertisement on the sidebar of your blog.

First of all login to your adsense account and create a channel and copy the ad ad unit you want to show.

Your code will be something like this:

    <script type=”text/javascript”><!–
    google_ad_client = “pub-xxxxxxxxxxxxxxxx”;
    /* 300×250, created 1/26/07 */
    google_ad_slot = “2012343546?;
    google_ad_width = 300;
    google_ad_height = 250;
    <script type=”text/javascript”




Once you have your adsense code, login to your wordpress blog and click on widget under appearance






Select the sidebar you want to use (depends on your wordpress theme)

Select Text widget and edit it and paste the Adsense code.


You can also add heading to your text widget like “Useful links” “Sites we like”.

With simple two minute of work you can add Google adsense to your wordpress blog.

Alternatively if you want to advertisement above or below your post, you need to edit your single.php file in theme editor.

Do you Like this Story..?

Get Free Email Updates Daily!

Follow us!

Do you Like This Story Widget For Blogger by Beautiful Blogger Widgets



Blogging Now And Then © 2009 Med ELJAMALI