• 04-12-2013, 08:24:57
    #1
    <?php $vids = get_post_meta($youTubeID, 'vids', true); ?>
    <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="http://i1.ytimg.com/vi/<?php echo($vids) ?>/mqdefault.jpg" alt="<?php the_title(); ?>" width="130px" height="97px" /></a>
    bu kod içerisinden bulunan

    <?php echo($vids) ?>
    buradaki id yi bir türlü çıkarttıramadık url de.

    kodu inceleyip doğrusu yazacak php uzmanı arkaşalar bakarlarsa memnun oluruz.
  • 04-12-2013, 08:39:42
    #2
    Misafir
    $vids= get_post_meta($post->youTubeID, 'vids', true);

    ???
    • Ahi Medya
    Ahi Medya bunu beğendi.
    1 kişi bunu beğendi.
  • 04-12-2013, 09:17:35
    #3
    ne pos id sini ne de youtube id sini çekmiyor hocam yine aynı

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 08:45:10 -->-> Daha önceki mesaj 08:43:08 --

    i1.ytimg.com/vi//mqdefault.jpg

    kırmızıyla gösterdiği iki slaş arası yine boş kalıyor
    sanırım php kodunda problem var

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 09:17:35 -->-> Daha önceki mesaj 08:45:10 --

    bilen yok miii
  • 04-12-2013, 11:50:39
    #4
    Buyur denermisin olmadiysa pm'den yardimci olurum :

    <?php
    $vids=get_post_meta($post->ID,"vids",true)!="" ? get_post_meta($post->ID,"vids",true) : null;
    $thumb="http://i1.ytimg.com/vi/".$vids."/mqdefault.jpg";
    ?>
    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo $thumb;?>" alt="<?php the_title(); ?>" width="130px" height="97px" /></a>
  • 04-12-2013, 12:22:30
    #5
    olmadı malesef
  • 04-12-2013, 12:29:31
    #6
    Ahi Medya adlı üyeden alıntı: mesajı görüntüle
    olmadı malesef
    FTP bilgilerinizi pm atin yardimci olurum.
  • 08-12-2013, 11:14:55
    #7
    deneme yanılma ile hallettim

    ilginiz için çok teşekkürler..