Text Link Ads
Email This Post Email This Post

How to Wrap Text around Google Adsense in Wordpress in 5 Easy Steps

Wordpress, Blogging Tips June 25th, 2007

    Visited 772 times, 1 so far today

The following example will show you how to wrap text around google adsense in your wordpress posts.  

  1. Login to your WordPress administration panel
  2. Select Presentation ->Theme Editor from the navigation menu
    theme editor
  3. On the Theme Editor page, you will see a list of “theme files” to the right of the page. Select the “Single Post” (single.php).
    theme files
  4. Find the following line
    <?php the_time(’F jS, Y’) ?>
  5. Below it add the following line
    <div style=”display:block;float:right;margin: 5px 5px 5px 5px;”>
       insert google adsense code here
    </div>
    Comments:-Depending on where you want your ads to disply on the post, you can edit the “float:right” attribute to “float:left” or “float:center” as well. This will position your ads in those positions. The 5px 5px 5px 5px you see in the code are the margins that add a space around the text wrap on the top, bottom, left, and right sides. If you want to you can remove these spaces.

That’s it your done! :)

You can see a demo of this on any of my posts on this site.

Leave a Reply


             



Resources

Categories

FREE Newsletter

Sign up TODAY and get FREE Tips every Week on Making Money on the Internet 

(required)
(required)
 

Increase your Blog Traffic


     

Auction Ads


     

Recommended Book


      

Tag Cloud

Wordpress Blog Marketing Blogging Tips Blogging Tools and Services Advertising VoIP Blogging for Money Search Engine Optimization Adsense General

Recommended Money Makers


    
      Text Link Ads
      Blog Mastermind Affiliates
      AuctionAds
      Amazon Associates

Related Articles

Recent Articles

Advertisements