Kirkbir adlı üyeden alıntı: mesajı görüntüle
Arkadaşlar single.php içindeki şu kodu nasıl düzenlersem yazı başlığından sonra değilde yazının ilk paragrafından sonra resim çıkar ?

kod single.php'de

<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
<img class="thumbnail" style="width:228px;height:228px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" />
<?php
add_filter( 'the_content', 'Poz_ImageString_r10', 20 );
function Poz_ImageString_r10( $content ) {
    $ad = '</p><p>
    <img class="thumbnail" style="width:228px;height:228px;" src="'.get_post_meta($post->ID, "thumbnail", true).' alt="'.the_title().'" />
    </p>';
    $content = preg_replace( "/<\/p>/", $ad, $content, 1 );
    return $content;
}
?>
şunu functions.php içine yapıştırıp bir dener misiniz ?