• 16-06-2010, 01:15:39
    #1
    donanim.net
    Merhaba arkadaşlar

    pophov2 temasını biliyoruz çoğumuz

    ben temanın özel alan kodlarını biraz değiştirdim her konuda olması için fakat galiba biraz bozdum gibi

    Temanın index.phpsinde kalın belirttiğim alanı kendim koydum oraya , pophonunkini çıkardım .

    Alıntı
    <?php get_header(); ?>

    <div class="solagel">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="yazilar">
    <div class="has2">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <div class="bilgican">
    <div class="yazar"><strong><?php the_author() ?></strong> tarafından <strong><?php the_time('j F Y'); ?></strong> tarihinde yazılmıştır. </div>
    </div><div class="yorumsayisi"><?php comments_number('Yorum Yok', '1 Yorum ', '% Yorum' );?></div>
    <div class="domestos"></div>

    </div>
    <div class="icerik">
    <div class="thumbcan">

    <img src="<?php echo get_post_meta($post->ID, 'thumbnail',true) ?>" width="150" height="180" ></div>

    <?php the_content(__('Devamını Oku'));?>
    <div class="domestos"></div>
    </div>
    </div>
    <?php endwhile; else: ?>

    <?php endif; ?>
    <div class="etican">
    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>


    </div>
    </div>
    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    Fakat konu özel resim alanındaki resim bir sonraki konuya kayıyor ve bu işlem ard arda birbirini takip ediyor.

    Şuan sitemde bakım var sanırım erişemiyorum eriştiğim an screen shot koyacağım fakat şöylede bir geçiriyim başlıktan.

    Konu başlığı
    ------------------------
    Thumb | Yazı alanı
    ------------------------
    2.Konu başlığı
    --------------------------
    İlk resimdeki thumb devamı | yazı alanı

    şöyle bir bozulma oluyor.

    Sanırım çözüm şu
    <div class="icerik">
    <div class="thumbcan">

    kodlar ile alakalı ama bir türlü yapamadım gibi

    Yardımcı olanlara şimdiden teşekkürler.
  • 16-06-2010, 01:17:13
    #2
    ⭐ EN UCUZ CHATGPT 5.5⚡
    thumbnail olarak belirtilmiş value.. iki temanın kodları değişkenlik göstermiş sanırım
  • 16-06-2010, 01:18:31
    #3
    Alıntı
    <div class="thumbcan">

    <img src="<?php echo get_post_meta($post->ID, 'thumbnail',true) ?>" width="150" height="180" ></div>

    <?php the_content(__('Devamını Oku'));?>
    <div class="domestos"></div>
    </div>
    domestosun ne işi var orada

    ayrıca tablo atlamışsın

    Alıntı
    <?php get_header(); ?>

    <div class="solagel">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="yazilar">
    <div class="has2">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <div class="bilgican">
    <div class="yazar"><strong><?php the_author() ?></strong> tarafından <strong><?php the_time('j F Y'); ?></strong> tarihinde yazılmıştır. </div>
    </div><div class="yorumsayisi"><?php comments_number('Yorum Yok', '1 Yorum ', '% Yorum' );?></div>
    <div class="domestos"></div>

    </div>
    <div class="icerik">
    <div class="thumbcan">

    <img src="<?php echo get_post_meta($post->ID, 'thumbnail',true) ?>" width="150" height="180" ></div>
    <div class="domestos"></div>
    </div>

    <?php the_content(__('Devamını Oku'));?>

    </div>
    <?php endwhile; else: ?>

    <?php endif; ?>
    <div class="etican">
    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>


    </div>
    </div>
    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    değiştir böyle bi

    edit div kodu fazla kaçmış bir tane.
  • 16-06-2010, 01:33:38
    #4
    donanim.net


    Şimdide şu şekil oldu hocam.Yan tarafa nasıl alabiliriz yazıları
  • 16-06-2010, 01:34:15
    #5
    Alıntı
    <?php get_header(); ?>

    <div class="solagel">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="yazilar">
    <div class="has2">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <div class="bilgican">
    <div class="yazar"><strong><?php the_author() ?></strong> tarafından <strong><?php the_time('j F Y'); ?></strong> tarihinde yazılmıştır. </div>
    </div><div class="yorumsayisi"><?php comments_number('Yorum Yok', '1 Yorum ', '% Yorum' );?></div>
    <div class="domestos"></div>

    </div>
    <div class="icerik">
    <div class="thumbcan">

    <img src="<?php echo get_post_meta($post->ID, 'thumbnail',true) ?>" width="150" height="180" ></div>

    </div>

    <?php the_content(__('Devamını Oku'));?>
    <div class="domestos"></div>
    </div>
    <?php endwhile; else: ?>

    <?php endif; ?>
    <div class="etican">
    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>


    </div>
    </div>
    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    Böyle dene birde
  • 16-06-2010, 01:38:02
    #6
    donanim.net
    teşekkür ederim hocam sorun düzeldi şimdi .