Tag Archive | "google"

Howto : Add Ads After First Post on your Wordpress Homepage

Tags: , ,


Google limits us to display 3 ad units and 1 link unit on any given page. In Wordpress, if we would like to add adsense on the homepage, we would be limited to header, sidebar and the footer. If we add ads at the end of an article, the loop repeats the ad at least 10 times. You don’t want that to happen, isn’t it? Ideally, it would be perfect to add an ad right after the first post which could pose an unprecedented challenge. Here is a small snippet which could do the trick for you without much sweat.

1. Open your FTP application and browse to the theme files. Locate either index.php or home.php depending on the theme and open them.
2. Find this code in the file : <?php endwhile; ?> or one of its variants such as <?php endwhile; else: ?>.
3. Just before the endwhile code, insert this code:
<?php if(!$show_ads){ ?>
YOUR ADSENSE/AD GOES HERE
<?php $show_ads = 1; } ?>

4. Save the file and upload.
5. That’s it!

Piece of cake isn’t it. If you have any further clarifications, let me know…

The World doesn’t Need Google Chrome

Tags: , , ,


The title is inspired by the award winning article written by Lois Lane in the Superman Returns movie.

Read the full story

Google Chrome Features

Tags: ,


The much hyped Google Chrome released yesterday. Here is a video hosted on Youtube that throws more light on the browser and its technology.

Can We Choose Ads on Google Adsense?

Tags: , ,


I was having a heated debate with one of my writers on influencing Google Adsense to flash certain types of ads. He was of the opinion that we can provide certain keywords to flash ads that were high paying. I disagreed at first and later decided give it a shot/do some research. I found an article on Ezine which can throw some light on the topic of discussion.

Read the full story

Web has 1 Trillion Unique URLs

Tags:


Google blog has just posted that the number of unique URLs on their database has crossed the trillion mark. This should give us a fair idea on the humongous size of the web today. The number can only grow, and soon we will have several trillions.

Read the full story

Site Sponsors

  • programming freak: And by the way thanks for those useful codes, i am surprised a site like this has C codes? and...
  • programming freak: Keep posting some codes man, i would be glad to find some c/c++/java/html/unix codes, sql queries...
  • programming freak: Hey thanks, good one!
  • Nathaniel Baker: its all good information.. but you forgot one very very important thing…. FAT32 can not...
  • om: Yeah sure it is.. :)

Older Posts

Ads

  • Advertise Here

Topics