How to add Adsense code to the Left of Post

Adsense 2 Comments

I have seen many people complaining about their low Adsense earnings. Some of them say that they get very much visitors but then also average number of clicks are very less. The reason is that you don’t provide the reason to your visitors to provide you the money the easy way.

If you want high CTR then consider placing the ad codes near the content, especially one slot should be near the left hand side of the article. Many bloggers put the 336×280 or 300×250 adlsot above the article and below the title. But it will not give you good CTR. You must try to place it on the left hand side of content and just below the h1 title. You will see a remarkable increase in the earnings. But question is how to do this?

Adding Adsense code to the left or right of post typically increases Adsense CTR. Some ad monetized themes provide this functionality within their themes. But some themes don’t provide it. So we are going to do it – a simple hack of your theme.

Placing Adsense Code To Side Of Article

Add Adsense to left of post
1.Login to your WordPress Dashboard.
2.Go to Appearance –> Editor and open Single Post (single.php).
3.Search for

<?php the_content(__(‘Continue Reading &raquo;’)); ?>

Or you might have,

<?php the_content(__(‘Read the rest of entry &raquo;’)); ?>

4.Before it insert a div in such way

<div style=”float:left;”>your Adsense code goes here</div>

If you want your Adsense code to be shown to the right of post use float:right as

<div style=”float:right;”>your Adsense code goes here</div>

See below

<div style=”float:left;”>
<script type=”text/javascript”>
<!–google_ad_client = “pub-xxxxxxxxxxxx”;
google_ad_slot = “xxxxxxx”;
google_ad_width = 336;
google_ad_height = 280;
//–>
</script>
<script src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”></script>
</div>
<?php the_content(__(‘Continue Reading &raquo;’)); ?>

That’s it .
NOTE: Replace your Adsense code with this code  🙂

     
 

Author

- who has written 443 posts on TechOfWeb.

Atul is a professional blogger and techie who writes at TechOfWeb.

Subscribe to TechOfWeb feed via RSS || EMAIL || Twitter || Facebook to get instant latest tech updates.

Your Comments

2 Comments so far

  1. We can use easy adsense plugins for this …

  2. NavaPavan says:

    Thanks for sharing the tut


Share your view

Post a comment

Subscribe Us - Email | LinkedIn

 
 
We are on Facebook
 
 
 
cbse boards result
Related Articles
  • Google Adsense ads can’t be placed on copied content
  • Google Adsense New Interface : Get Beta Invitation
  • Adding Google Search is against Adsense Policies
  • Translate your own
       

    © 2009-2013 TechOfWeb.