• 07-12-2009, 20:44:35
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Merhabalar bu temayi kurdum;

    http://www.wptema.com/turkce-wordpress-marcelle-temasi/

    solda cikan büyük resimler bende cikmiyor nedense. ne hatasi yapiyorum anlamadim. 2 yazimda cikti , diger yazilarimda cikmiyor.

    konu acarken aynen böyle yapiyorum;



    thumbnail yazip resmin ulrsini yaziyorum

    http:///siteismi.com/wp-content/uplo...9/12/sedef.jpg


    ama hala cikmiyor. eklendi gözükmesine ragmen. yardimci olabilecek varmi ne hatasi yapiyorum ben bulamadim gitti.
  • 07-12-2009, 21:07:30
    #2
    Üyeliği durduruldu
    TurK35Li adlı üyeden alıntı: mesajı görüntüle
    Merhabalar bu temayi kurdum;

    http://www.wptema.com/turkce-wordpress-marcelle-temasi/

    solda cikan büyük resimler bende cikmiyor nedense. ne hatasi yapiyorum anlamadim. 2 yazimda cikti , diger yazilarimda cikmiyor.

    konu acarken aynen böyle yapiyorum;



    thumbnail yazip resmin ulrsini yaziyorum

    http:///siteismi.com/wp-content/uplo...9/12/sedef.jpg

    ama hala cikmiyor. eklendi gözükmesine ragmen. yardimci olabilecek varmi ne hatasi yapiyorum ben bulamadim gitti.

    Kendi serverine upload et...o linki yaz...
  • 07-12-2009, 21:13:34
    #3
    <?php dp_attachment_image($post->ID, 'full', 'alt="' . $post->post_title . '"'); ?>

    Bunun yerine bunu yazarsan olur.

                       <?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
                        <a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" width="248" height="163"/></a>
                    <?php else: ?>
                           <a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;"  src="http://www.filmschoolrejects.com/images/frenzy.thumbnail.png" alt="<?php the_title(); ?>"  width="248" height="163"/></a>
                    <?php endif; ?>
  • 07-12-2009, 21:13:44
    #4
    Üyeliği durduruldu
    thumbnail'e Url girme, Yeni post eklediğin bölümden Html kısmından resim yükle seçeneğinden url gir Sorun çözülür. Umarım yanlış anlayıpda yanlış bilgi vermedim
  • 07-12-2009, 21:56:27
    #5
    Üyeliği durduruldu
    <?php the_content(); ?>
    kodunun üstüne

    <?php if ( get_post_meta($post->ID, 'thumb', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD --> 
    
                     
    
                    <div class="resim"><img src="<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>" width="125" height="125" alt="<?php the_title(); ?>" class="th" />        </div>     
    
                     
    
                <?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED --> 
    
                     
    
                    <div class="resim"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg" width="125" height="125" alt="<?php the_title(); ?>" class="th" /> </div> 
    
                    <?php } ?>
    kodunu ekle.

    style.css dosyasını aç ve en alta

    .resim  img{
    
    	border: 1px solid #dddddd;
    
    	float: left;
    
    	padding: 5px;
    
    	background-color: #FFFFFF;
    
    	margin: 10px 10px 15px 10px;
    
    }
    thumb olarak kullanacaksın özel alanda. resim urlsini girerek.
  • 07-12-2009, 22:42:07
    #6
    Keyif adlı üyeden alıntı: mesajı görüntüle
    <?php the_content(); ?>
    kodunun üstüne

    <?php if ( get_post_meta($post->ID, 'thumb', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD --> 
    
                     
    
                    <div class="resim"><img src="<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>" width="125" height="125" alt="<?php the_title(); ?>" class="th" />        </div>     
    
                     
    
                <?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED --> 
    
                     
    
                    <div class="resim"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg" width="125" height="125" alt="<?php the_title(); ?>" class="th" /> </div> 
    
                    <?php } ?>
    kodunu ekle.

    style.css dosyasını aç ve en alta

    .resim  img{
    
    	border: 1px solid #dddddd;
    
    	float: left;
    
    	padding: 5px;
    
    	background-color: #FFFFFF;
    
    	margin: 10px 10px 15px 10px;
    
    }
    thumb olarak kullanacaksın özel alanda. resim urlsini girerek.

    bu kod nerde ? hangi dosyada

    <?php the_content(); ?>
  • 07-12-2009, 22:43:54
    #7
    Üyeliği durduruldu
    İndex.php
    the_content diye arat bulursun.
  • 07-12-2009, 22:44:27
    #8
    index.php dosyasında.
  • 07-12-2009, 22:55:58
    #9
    malesef o kodu bulamadim index.php de.

    kodlar bunla;

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



    <!-- BEGIN content -->

    <div id="content">



    <h2 class="title"> Bilgiler</h2>



    <?php

    if (have_posts()) :

    while (have_posts()) : the_post();

    $arc_year = get_the_time('Y');

    $arc_month = get_the_time('m');

    $arc_day = get_the_time('d');

    ?>

    <!-- begin post -->

    <div class="post f">

    <div class="thumb"><a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'full', 'alt="' . $post->post_title . '"'); ?></a></div>

    <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>

    <?php the_excerpt(); ?>

    <p class="details"><a href="<?php the_permalink(); ?>">Devamını oku &raquo;</a> | <?php comments_popup_link('Yorum Yok', '1 Yorum', '% Yorum'); ?></p>

    </div>

    <!-- end post -->

    <?php endwhile; ?>

    <p class="postnav">

    <?php next_posts_link('Önceki Yazılar'); ?> &nbsp;

    <?php previous_posts_link('Sonraki Yazılar'); ?>

    </p>

    <?php else : ?>

    <div class="notfound">

    <h2>Bulunamadı</h2>

    <p>Üzgünüm, aradığınız şey burada değil.</p>

    </div>

    <?php endif; ?>







    </div>

    <!-- END content -->



    <?php get_sidebar(); get_footer(); ?>