• 20-12-2009, 22:18:00
    #10
    <div class="thumbnail">
    <a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?>">
    <?php if( get_post_meta($post->ID, "thumbnail", true) ) { ?>
    <img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumbnail", true); ?>&w=60&h=100&zc=1" width="60" height="100"  class="alignleft" />
    <?php } else { ?>
    <img src="<?php bloginfo('template_url'); ?>/images/thumbnail.jpg" width="60" height="100" class="alignleft" />
    <?php } ?>
    </a>
    </div>

    Su kodu duzenlersenız sorun cozulecek.İsterseniz yine thum olarak duzenleyın ama bu kod ustunde duzenleyın yoksa temada kaymalar oluyor.Yanı bu kodları thumba gore duzenlersenız super olacak Sımdıden tesekkurler
  • 20-12-2009, 22:52:07
    #11
    Üyeliği durduruldu
    <?php if ( get_post_meta($post->ID, 'thumb', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->  
    
                      
    
                    <div class="thumbnail"><img src="<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>"  alt="<?php the_title(); ?>"  />        </div>      
    
                      
    
                <?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->  
    
                      
    
                    <div class="thumbnail"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg"  alt="<?php the_title(); ?>"  /> </div>  
    
                    <?php } ?>
    bu kodu yerleştirin bakalım.

    özel alan olarak thumb kullanın. resim linki verin.
  • 20-12-2009, 22:52:44
    #12
    Teşekkürler sorun halloldu
  • 20-12-2009, 23:22:30
    #13
    Benim sorunum ise

    site firefoxta gayet stabil çalışırken explorer ile girdiğimde kaymalar oluyor temada nasıl düzeltebilirim bunu?