Looking for a solution of how to put Google Ads in your post and let the text wrap around it? Then you come to the right place. I am going to show you how to implement it for WordPress. Actually it is not as hard as you might think. All you need to do is to
- download a plugin here.
- Once you downloaded the file; unzipped it.
- I use FireFTP to upload the unzipped file to this folder /wp-content/plugins/. But you can use whatever FTP you want.
One more thing you need to do before you can use this plugin. That is you need to edit adsense.php otherwise you can’t earn money because those codes are not yours.
Open adsense.php file, search down to the middle, and find the lines of <!– Begin Google Adsense code –> and <!– End Google Adsense code –>. You need to put your Google Ads between these two lines. Make sure you use the following codes to wrap around them. What I mean is your codes should look like the one below:
<!– Begin Google Adsense code –>
<!– End Google Adsense code –> |
You can change to float right, left or center; adjust 5px to meet your needs. By the way margin: 5px 5px 5px 5px represents for top, right, bottom, and left margin spacing respectively. After you made your changes, make sure you save it and upload it back to this folder: /wp-content/plugins/adsense/.
Now login to your WordPress Dashboard, click on Plugins on the Menu Bar, and make sure you activate Adsense. You should see a new button, Adsense, on your editor’s Code Button. Now go ahead and try to click on Adsense button and place the ads wherever you want it to be. See mine on this post. Hope you enjoy it like I do!
If you are using Google Blogger, you’ll find How to Wrap Your Blogger Post Around Google Ads? and How to Wrap AdSense Ads Around and Inline Beside Blogger Post Content very useful.
Related articles
How To Wrap Content Around Google Adsense Ads
How to easily wrap text around Google Adsense or Chitika ads



Awesome. Thank you for this!
I am glad it can help. Thank you for your nice words and thank you for visiting.
It is useful. Thanks.
Hi! Thanks for the help.. have been playing with layout on a (very!) new site http://www.willitchangeyou.com – pleased to report I can now wrap adsense!
Cheers
Thanks Nature and Taeran for leaving comments here.
Happy to hear that it worked out for you.
Adds show up but they don’t wrap. whats the deal
Hello Nick;
Thanks for visiting.
Yes, I checked your site. Ads showed up but it was not wrapped by your contents.
Are you using WordPress platform because this post was written for WordPress blogs. However, you can just add Google Ads in your index.php or index.html files if you know how. Make sure use these two lines. They are the key components of wrapping your ads:
<div style=”display: block; float: right; margin: 5px 5px 5px 5px;”>
Your Google Adsense codes go here
</div>
Hope that helps. Let me know it works or not.
Keep up the good work.
Thanks for your help. I have been trying to get text to wrap on http://sirduke.com and couldn’t figure out what the problems was. Once I saw your code I inserted “display:block” and I am good to go! Thanks again!
Nice tip. Really implemented it right. Keep up the good work!
Thanks for this info, I’ve been looking for this!
thanks for the info,,now i can rap my text arround my ads,,on my site-http://www.iphone4gsguide.com
I’ve been looking high and low for a solution to my ads issue. Thank you for pointing me to this plugin. Hopefully I can get it to work properly tonight!
Hope it works out for you. Good luck!
thanks for this information, i’m looking for a way to make my adsense code wrap with text article not just in above the title, thanks …
Good Job bro
I’m having the same problem, god bless u
I am trying to wrap text around my google ads on my site. Will this code work on a website using dreamweaver? Somebody please email me and help? I have been trying to work this out for days now
Theoretically it should work although I’ve never tested it out. Good luck!
you are really great ..
i was trying to wrap my adbrite codes
then i came over it
so i copied the line
which worked exactly as i thought
visit
newsbarrel.co.cc
glad to meet you..
Great to hear that it works for AdBrite ads other than Google ads.
Thanks Lanna.
You just give me an idea to do at my “forex income studio blog”… no plugin needed,.. but works great with DIV style.
Thanks again.
Glad it helped. Did you follow How to Wrap Your Blogger Post Around Google Ads? to get that work since your site is a Google Blogger site.
Thanks for the code, I’ts a great help!