Learning Center
Plans & pricing Sign in
Sign Out

How to add adsense to wordpress without any adsense plugin


									How to add adsense to wordpress without
any adsense plugin

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 My sponsors• 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.

To top