Rice Blogger

Malaysia Internet Marketing, Blogging Tips, SEO, Make Money Online and Internet Entreprenuer.

Advertisements on First Post

Posted by Adi Wong On January - 21 - 2008

Here is a simple and easy trick to add an advertisements on the first post only. All you have to do is to add the following code:-

  1. Go to Admin Panel > Presentation
  2. Theme Editor
  3. Click on “Main Index Template”
  4. Add the code between line of code with <?php the_content  & <?php endwhile; ?>

<?php if ($count == 0) : ?>
[your ads here]

<?php endif; $count++; ?>

This is quite useful for your to add another advertisements if you are using shylock or mightyadsense plugin as they only allow a maximum of 3 block of advertisements on the front page.

If you have DeluxeAdsense, you will use the following code in your templates. Replace “ads name” to the exact Adsense Block Name.



<?php if ($count == 0) :

adsense_deluxe_ads(‘ads name’);

endif; $count++; ?>

Random Posts

Posted in :Blogging Tips

5 Responses to “Advertisements on First Post”

  1. Steven Goh says:

    I had tried Adsense but not much income on that. Is there any keyword that you focus at for Adsense

  2. Adi Wong says:

    Steven: I had mentioned this b4 but what the heck. Most people would not put adsense keyword in their focus rather than producing traffic and generating more return reader.

    the more traffic you have, the more chances your ads are getting click no matter the amount.

    if you get a high paying keyword and have 1 user a day with 1% conversion. You will get what…..USD5 dollars for 100days. Wouldn’t that give you less money?

  3. CristianR says:

    Traffic isn’t everything. You can have as well as 5000 visitors and still make only a few bucks out of AdSense. AdSense earnings are influenced by type of traffic you get and what niche you’re targeting. Ad placement, keyword targeting, organic visitors ( the ones that come from SE are more likely to click on an ad ), GEOIP targeting and last but not least, the types of ads you’re using – these are the things that affect your AdSense earnings.

  4. CristianR says:

    P.S: I found your blog via EntreCard if you were wondering where I came from.

  5. Adi Wong says:

    CristianR: it is most definitely more important that keyword targeting for adsense.

Leave a Reply

About Me

Adi Wong is a Malaysian with a passion in Internet Marketing, Photography, and Programming.