Down adlı üyeden alıntı: mesajı görüntüle
wp-includes klasörünü açarak içinde bulunan post-template.php dosyasını açıp 217. satırdaki (başka bir satırda olabilir)
aramanız gerekmektedir. bunu bularak
Bu şekilde değiştirmeniz gerekir


kodları arasına adsense kodlarımızı ekliyoruz ve işlemimiz tamamdır.

Not: işlemi yapmadan önce post-template.php yedeğini almayı unutmayınız.
Teşekkürler ama bende çalışmadı, tüm içeriği gösteriyorum <?php the_content(); ?> kodu ile acaba ondan mıdır

Bende böyle bir kod buldum olmadı
<?php
  $content = apply_filters('the_content', $post->post_content);  //get the post content store in $content
  $save = explode("</p>", $content);  //Separate the content into <p> blocks
  $tcount=0; //this is count for number of <p> blocks
  $adon=0;  //this is a variable so you don't show ads more than once.
  foreach($save as $item) {
    echo $item;  //print the <p> block
    echo "</p>"; 
    if(preg_match('/<p> /',$item)==0 && $tcount>=1 && $adon==0) {
                                $adon=1;
?>
Replace this with Your adsense code!!!
<?php
    }
 if(preg_match('/<p> /',$item)==0 && $tcount>=4 && $adon==1) {
                                $adon=2;
?>
Replace this with Your adsense code if you want additional adsense blocks for super long blog posts or leave it empty if you don't want one.
<?php
   }
   $tcount++;
 }
?>