• 28-09-2012, 19:51:59
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar, benim bir hikaye sitem var ben en çok okunan hikayeleri sağ menüde göstermek istiyorum bunun için eklenti mi yüklemem gerekiyor ?
    resimli de olabilir.
  • 28-09-2012, 20:35:46
    #2
    postviews eklentisi ile yapabilirsiniz.Eklentiyi kurup aktif ettikten sonra kullanmanız gereken kod kısaca,

    <ul>
    <?php
    query_posts('v_sortby=views&v_orderby=desc');
    while (have_posts()) : the_post(); ?>
    <li>
    <img src="<?php echo get_post_meta($post->ID, 'resim',true) ?>" height="60" width="100" alt="" />
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </li>
    <?php endwhile; ?>
    
    </ul>
    Temanıza görede düzenleme yaparsınız.
  • 28-09-2012, 20:43:26
    #3
    Üyeliği durduruldu
    bluefb adlı üyeden alıntı: mesajı görüntüle
    postviews eklentisi ile yapabilirsiniz.Eklentiyi kurup aktif ettikten sonra kullanmanız gereken kod kısaca,

    <ul>
    <?php
    query_posts('v_sortby=views&v_orderby=desc');
    while (have_posts()) : the_post(); ?>
    <li>
    <img src="<?php echo get_post_meta($post->ID, 'resim',true) ?>" height="60" width="100" alt="" />
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </li>
    <?php endwhile; ?>
    
    </ul>
    Temanıza görede düzenleme yaparsınız.
    sidebar ( yan menü ) ekliyoruz doğrumu anladım ?
  • 28-09-2012, 20:46:37
    #4
    Evet, Metin olarak ekleyebilirsiniz.
  • 28-09-2012, 20:50:52
    #5
    Metin47 adlı üyeden alıntı: mesajı görüntüle
    sidebar ( yan menü ) ekliyoruz doğrumu anladım ?
    Metin olarak eklerseniz çalışmaz.Bunun içinde yanmenüde php kodlarını çalıştırmaya yarayan execphp eklentisini kullanmalısınız.Direk sidebar.php'ye eklersenizde olur kullanmanıza bağlı.

    Ben sadece kodu gösterdim direk alıp ekleyerek temanızda istediğiniz görüntüyü yakalayamazsınız belirteyim.
  • 28-09-2012, 20:52:32
    #6
    Üyeliği durduruldu
    bluefb adlı üyeden alıntı: mesajı görüntüle
    Metin olarak eklerseniz çalışmaz.Bunun içinde yanmenüde php kodlarını çalıştırmaya yarayan execphp eklentisini kullanmalısınız.Direk sidebar.php'ye eklersenizde olur kullanmanıza bağlı.

    Ben sadece kodu gösterdim direk alıp ekleyerek temanızda istediğiniz görüntüyü yakalayamazsınız belirteyim.
    aynen dediğiniz gibi oldu size site adresini pm ile gönderirsem gerekli yönlendirmeyi yaparmısnız ?
  • 28-09-2012, 21:10:25
    #7
    Metin47 adlı üyeden alıntı: mesajı görüntüle
    aynen dediğiniz gibi oldu size site adresini pm ile gönderirsem gerekli yönlendirmeyi yaparmısnız ?
    cevapladım.
  • 29-09-2012, 12:16:38
    #8
    Eklentiye Gerek Yok Arkadaşım Öncelikle

    Sag Tarafta Göstermek İstiyorsan


    Degısıklık Yapmadan Önce Yedege Almayı Unutmayınız

    sidebar-right.php

    Ac ve <div id="left-menu-bottom"></div>
    </div>


    Kodundan Hemen Sonra Şu Kodu Ekle...


    <div id="left-menu">
    <div class="mavi-text" id="left-menu-top">Şuan İzlenenler</div>
    <div class="subnav">
    <ul>
    <script type="text/javascript">
    stepcarousel.setup({
    galleryid: 'mygallery', //id of carousel DIV
    beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    panelclass: 'panel', //class of panel DIVs each holding content
    panelbehavior: {speed:500, wraparound:true, persist:true},
    defaultbuttons: {enable: true, moveby: 2, leftnav: ['<?php bloginfo('template_url'); ?>/images/sol.png', -42, 0], rightnav: ['<?php bloginfo('template_url'); ?>/images/sag.png', 0, 0]},
    statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    contenttype: ['external'] //content setting ['inline'] or ['external', 'path_to_external_file']
    })


    </script>

    <div id="myslides">
    <div id="mygallery" class="stepcarousel">
    <div class="belt">

    <?php
    $postslist = get_posts('numberposts=10&orderby=rand');
    foreach ($postslist as $post) :
    setup_postdata($post);
    ?>
    <div class="panel">
    <?php $image = get_post_meta($post->ID, 'resim', true); ?><?php if ( get_post_meta($post->ID, 'resim', true) ) { ?><a href="<?php the_permalink() ?>"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } else {?><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_url'); ?>/images/no-thumbnail.png" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } ?>
    <div class="ozet"><?php the_title(); ?></div>
    </div>
    <?php endforeach; ?>

    </div>
    </div>
    </div>
    </ul>
    </div>

    <div id="left-menu-bottom"></div>
    </div>
  • 29-09-2012, 13:20:13
    #9
    KoCaaLi adlı üyeden alıntı: mesajı görüntüle
    Eklentiye Gerek Yok Arkadaşım Öncelikle

    Sag Tarafta Göstermek İstiyorsan


    Degısıklık Yapmadan Önce Yedege Almayı Unutmayınız

    sidebar-right.php

    Ac ve <div id="left-menu-bottom"></div>
    </div>


    Kodundan Hemen Sonra Şu Kodu Ekle...


    <div id="left-menu">
    <div class="mavi-text" id="left-menu-top">Şuan İzlenenler</div>
    <div class="subnav">
    <ul>
    <script type="text/javascript">
    stepcarousel.setup({
    galleryid: 'mygallery', //id of carousel DIV
    beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    panelclass: 'panel', //class of panel DIVs each holding content
    panelbehavior: {speed:500, wraparound:true, persist:true},
    defaultbuttons: {enable: true, moveby: 2, leftnav: ['<?php bloginfo('template_url'); ?>/images/sol.png', -42, 0], rightnav: ['<?php bloginfo('template_url'); ?>/images/sag.png', 0, 0]},
    statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    contenttype: ['external'] //content setting ['inline'] or ['external', 'path_to_external_file']
    })


    </script>

    <div id="myslides">
    <div id="mygallery" class="stepcarousel">
    <div class="belt">

    <?php
    $postslist = get_posts('numberposts=10&orderby=rand');
    foreach ($postslist as $post) :
    setup_postdata($post);
    ?>
    <div class="panel">
    <?php $image = get_post_meta($post->ID, 'resim', true); ?><?php if ( get_post_meta($post->ID, 'resim', true) ) { ?><a href="<?php the_permalink() ?>"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } else {?><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_url'); ?>/images/no-thumbnail.png" alt="<?php the_title(); ?>" height="150" width="150" /></a><?php } ?>
    <div class="ozet"><?php the_title(); ?></div>
    </div>
    <?php endforeach; ?>

    </div>
    </div>
    </div>
    </ul>
    </div>

    <div id="left-menu-bottom"></div>
    </div>
    Tartışma yaratmak yada bilmişlik taslamak için söylemiyorum ama, yardımcı olayım derken vakit kaybına neden olduğunuzu düşünüyorum.Yolladığınız kod slider kodları.Ezbere kendinizdeki kodları buraya yapıştırarak bir yere varılmaz.Her temade farklı alanlar mevcuttur ve her kod doğru çalışmayabilir.Küçük resim kullanımı, yanmenü style kodları vs..

    Şu konuda haklısınız evet yedek almadan hiçbir işlem yapmayın.Anlatımı yapan kim olursa olsun mesuliyet kabul etmez.