Home     Xml Feed    Submit Articles     Editor Login Contact us
Submit Your Free Article
  RSS Feeds   Add us to favorites
  Make us your home page
Free Newsletter
Subscribe to newsletter
Sponsors
Guide To Ebook Marketing
Blogging Resources
Internet Marketing Videos?
AdWords Training
St Louis Web Developement
Categories
Acne
Adsense
Animals
Automobiles
Blogging
Business
Career
Computer Programming
Computers
Dogs
Entertainment
Environment
Family
Food
Health & Medical
Home & Garden
Humor
Internet Marketing
Legal
Leisure & Recreation
Marketing
Mortgage
Other
Politics
Religion
Sports
Technology & Science
Travel
Writing


Displaying Google Adsense in Blogs
Author: John Hocking
Website: http://www.submityourfreearticle.com
Added: Mon, 05 Feb 2007 21:35:45 -0600
Category: Adsense
Printable version | Email |



George Manty

Google® Adsense® can be a great tool for making money. Blogs are also becoming a great tool for making money. Many people know that the most profitable position to place Google® Adsense® ads is inline with your article text. The dilemna many of us face is that the Google® Adsense® Terms of Service only allow 3 ad blocks per page. The reason this is a problem for bloggers is that most blogs show more than three posts on the main page or in the archives section of the site. When this is the case you can't post an article Google® Adsense® in the article.

While setting up my wife and her friend's new site (www.naturalfamilynews.com), I came up with a trick using JavaScript to fix that problem. The code I wrote works perfectly in WordPress, but you should be able to adapt it to any blog that uses templates.

Step 1. In the head section of the template (between the and tags), you insert the following JavaScript code:



Step 2. Go to the template used to display your post (in WordPress the main template). Then insert the following code inside the display area for the post:



Step 3 Insert your Google® Adsense® code directly following the tag that you inserted in Step 2 above.

Step 4 Insert the following code after the tag from the Google® Adsense® code you inserted in step 3 :



Step 5. Save your changes and test it out.

What this does is create a new DIV section in your code that is hidden if it appears more than three times on the page. So only three ads will appear on any page. If you use Google® Adsense® in other places in your blog, then you will need to adjust the number "temp" in the first step up to display less inline ads. For instance, only two inline ads will appear if you change the code to:



Only one inline ad will appear if you change it to:



I hope this code helps you to make money online. Feel free to let others know about this trick, just be sure to let them know where you heard about it.

About the Author


Displaying Google® Adsense® in Blogs
by George Manty
This article can be reproduced in whole or in part,providing this byline is included along with a link to
http://www.canimakebigmoneyonline.com/






View all John Hocking's articles




About the Author:

More Adsense articles


:- Articles Search

  
Search our article database!

:- Recent Articles
часное видео секс
первый анальный секс смотреть онлайн
ебля бесплатный просмотр
эксбиционизм видео онлайн
девочки подростки трах
порно сайт фото инцест
смотреть интересное порно
екатерина великая смотреть порно фильм
Inkjet Printer Basics
Benefits of an External Hard Drives
Desk Computers Specs: What Do They Mean?
How to Choose a Desktop Computer
Why choose the Acer Aspire One
Desktop Computers: Mac vs. PC
Your Next Toshiba Laptop
Portable Hard drives: A Music Lover’s Back Pocket Companion
Reasons to Love Your Mac Laptop
Tap Into the Most Powerful Machine on the Market With A Mac Pro
Four Reasons to Upgrade to an LCD Monitor
Printing Photos Is Faster and Easier Than Ever With an HP Photosmart Printer

:- Top Resources

Google AdWords Training
Free Article Finder
Online Marketing Research




Copyright 2005 Submit Your Free Article. All Rights Reserved.


Powered by: Content Management