Check out the Latest Articles:

Here is my first adsense placement idea for my posts. I edited one of the files in wp-includes folder to replace the <!–more–> tag in wordpress with an adsense bar. The reason I wanted this was not to go through process of adding adsense each time I post.

I first thought I had to change the tinyMCE files to do this so I have to check and test every one of the related files. The solution was simpler than I thought. You just need to find the post-template.php file in your wp-includes folder and change the code on line 98.

post-template.php wp-hack adsense

You can place any html code you want between <span id=”more-’.$id.’”> and </span>. After you click on the more link, you will see that the full post now contains an adsense banner in that place. Now I am looking for another place on my blog to place my next adsense for content bar. If anyone has any idea where I can get high CTR numbers, please feel free to comment. And don’t forget, since I am using the dofollow trackbacks plugin, if you talk about this hack on your blog, You will get a backlink in return!

PS: This wp-hack got me lots of new plugin ideas, but first things first right? When everyone thought there is no plugin left to write for wordpress :)



  1. Vinod Ponmanadiyil on Saturday 2, 2007

    The best CTR is obtained when you place a 336 within the post content.

  2. Cansun on Saturday 2, 2007

    What do you mean by 336?

  3. huseyin on Saturday 2, 2007

    Site admine Mesaj olarak yolluyorum öncelikle bunu Belirteyim. Siteniz son derece güzel ayrica ingilizce olmasi ve böyle bilgiler vermenizde beni son derece sevindirdi.Benimde birkaç tane İngilizce web sitem var. karşılıklı Fikir alışverişi yapabileceğimize umuyorum bu yüzeden size yazdim. Eger msn adresimi eklerseniz tanışmak isterim. kOLAY GELSİN BAŞARILAR

  4. Web 2.0 Seo on Saturday 2, 2007

    Use the new rule chang to your advantage. You get 3 linkbars nos. I am converting every site we have to take advantage :)

    728 top bars, inline 468 and side bar whatever fits. Enjoy

  5. eylultoprak on Saturday 2, 2007

    merhaba bunu bende kullanmak istiyorum.

    çok iyi bir ingilizcem yok.
    97 -100 nolu satırda şunlar var

            if ( $more ) {
                $output .= '<a id="more-'.$id.'"></a>'.$content[1];
               
            } else {

    elimdeki adsense kodunu nereye ve nasıl koymam gerekli

    birde temada more tag'ı şöyle

    <?php the_content(__('yazının devamı..')); ?>

    53 numaralı satırda post-template the_content var wordpress sürüm 2.1.3 yardımçı olursanız sevinirim :)

  6. Turk Hit Box on Saturday 2, 2007

    $output .= '<a id="more-'.$id.'">adsense kodu buraya gelecek</a>'.$content[1];

  7. eylultoprak on Saturday 2, 2007

    2.3.1 de adsense kodunu koydum.. fakat alttaki adsense ile yer değiştiriyor. :S anlayamadım.

  8. eylultoprak on Saturday 2, 2007

    $content[1]; değerini $content[2]; yapınca sorun giderildi bilginize.

  9. Sir Pavlow on Saturday 2, 2007

    güzel bir uygulama teşekkürler.

  10. Bored No More on Saturday 2, 2007

    Hey ! thatz a great idea :D I think I'll try it out on my blog.

  11. acakadut on Saturday 2, 2007

    thanks a bunch mate. I’ve been looking for this :)

    one more question. Is there any way we can find out whether the post has more tag or not? otherwise we’ll miss 1 spot if the post doesn’t have the more tag :(

  12. Bobby on Saturday 2, 2007

    Your rss feed isn’t working