Welcome to Adsense
Adsense Keyword List Article
![]()
This is a selection made from among articles on Adsense Keyword List. For a permanent link to this article, or to bookmark it for future reading, click here.
Displaying Google Adsense in Blogs
from: George MantyGoogleŽ 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/
![]() |
![]() |
Adsense Keyword List News
Read all 'Online holiday sales' posts in Digital Media - CNET News
Online holiday spending declined 3 percent compared with last year's online shopping season, the first negative growth rate in the past eight years, according to a ComScore report released Tuesday. Between November 1 and December 23, U.S. online ...
Read more...Digital Media - CNET News
Intel and Yahoo are comfortable in the realm of the PC. They hope Internet connectivity will help them conquer TV, too, and they'll show how at CES. Google's search share encroached on rivals, rising 0.4 percentage points to 63.5 percent from October ...
Read more...2009 web predictions - Axcess News
(AXcess News) Reno - An easy cop out is to do a "to 10 list for 2009" and like many journalists who've picked social networks, iPhone and other gadgets, it would be tempting to lay down something similar. But with a global recession underway, the web ...
Read more...





