• 15-09-2012, 00:50:43
    #1
    arkadaşlar yeni temamın sağ tarafında son konular var.

    kod güzelce çalışıyor fakar sorun şu;

    konu içine girince konuyu göstermiyor yada farklı konu gösteriyor.

    ama son konular kodunu silince herşey düzgün

    <ul class="..">
    
    <?php query_posts('showposts=10'); ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <li>
    
    <div class=".."><a href="<?php the_permalink();?>"><?php baslik(); ?></a></div>
    <div class="..i">
    <div class=".."><?php wpn_content_limit(get_the_content(),50); ?></div>
    </div>
    
    </li>
    <?php endwhile;?>                
                                        
    </ul>
  • 15-09-2012, 00:58:47
    #2
    psdlider adlı üyeden alıntı: mesajı görüntüle
    arkadaşlar yeni temamın sağ tarafında son konular var.

    kod güzelce çalışıyor fakar sorun şu;

    konu içine girince konuyu göstermiyor yada farklı konu gösteriyor.

    ama son konular kodunu silince herşey düzgün

    <ul class="..">
    
    <?php query_posts('showposts=10'); ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <li>
    
    <div class=".."><a href="<?php the_permalink() ?>" title='<?php the_title(); ?>'><?php the_title(); ?></a></div>
    <div class="..i">
    <div class=".."><?php wpn_content_limit(get_the_content(),50); ?></div>
    </div>
    
    </li>
    <?php endwhile;?>                
                                        
    </ul>

    Bir de bu şekilde deneyin hocam.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 00:58:47 -->-> Daha önceki mesaj 00:55:13 --

    Wordpress için Son eklenenler bölümünde çalışan kodlar.

    <ul> <?



    include "wp-config.php";



    $my_query = new WP_Query('showposts=10');



    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;?>



    <li><a href="<?php the_permalink() ?>" title='<?php the_title(); ?>'><?php the_title(); ?></a></li>



    <? endwhile;?>



    </ul>


    Sizin temanızda çalışırmı bilmiyorum bir deneyin.
    • psdlider
    psdlider bunu beğendi.
    1 kişi bunu beğendi.
  • 15-09-2012, 01:10:07
    #3
    selamm adlı üyeden alıntı: mesajı görüntüle
    Bir de bu şekilde deneyin hocam.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 00:58:47 -->-> Daha önceki mesaj 00:55:13 --

    Wordpress için Son eklenenler bölümünde çalışan kodlar.

    <ul> <?



    include "wp-config.php";



    $my_query = new WP_Query('showposts=10');



    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;?>



    <li><a href="<?php the_permalink() ?>" title='<?php the_title(); ?>'><?php the_title(); ?></a></li>



    <? endwhile;?>



    </ul>


    Sizin temanızda çalışırmı bilmiyorum bir deneyin.
    malesef çalışmadı hocam

    <?php have_posts('showposts=10'); ?>

    şeklinde değiştirince çalışıyor ama bu seferde 10 konu değilde 16 17 tane çekiyor ayarlayamadım basit bişey olsa gerek

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 01:10:07 -->-> Daha önceki mesaj 01:02:31 --

    <?php wp_reset_query();?>

    bunu sonuna ekleyince sorun ortadan kalkıyor arkadaşlar yardım eden etmeyen herkese tşkler

    umarım başka arkadaşların işine yarar bu kod