Yazar adı farklı yerde çıkıyor

  • Editlemiş olduğum temada kategorilere tarih saat gibi ekledikten sonra yazar adını da çıkarttığımda istediğim yerde çıkıyor fakat sayfanın üstün de de çıkıyor çözemedim bir türlü yardım edin kafayı yedim.

    Kodlarım alttadır.
    <img src=”http://j1305.hizliresim.com/19/k/n4y74.jpg”/></br>

    <?php /* If there are no posts to display, such as an empty archive page */ ?>
    <?php if ( ! have_posts() ) : ?>
    <article id="post-0" class="post error404 not-found">
    <h1 class="posttitle"><?php _e( 'Not Found', 'templatesquare' ); ?></h1>
    <div class="entry">
    <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'templatesquare' ); ?></p>
    <?php get_search_form(); ?>
    </div>
    </article>
    <?php endif; ?>

    <?php
    $categorytemplate = of_get_option('templatesquare_category_template' ,'2');
    ?>

    <?php if($categorytemplate=="bloglayout") : ?>

    <?php get_template_part( 'loop', 'index' ); ?>

    <?php elseif($categorytemplate=="archivelayout") : ?>

    <?php get_template_part( 'loop', 'archive' ); ?>

    <?php else : ?>

    <ul class="rp-shortcode col-<?php echo $categorytemplate;?>">

    <?php
    $i=0;
    $col = $categorytemplate;
    while (have_posts()) : the_post();

    //Get excerpt
    $excerpt = get_the_excerpt();

    //get_comment
    $num_comments = get_comments_number(); // for some reason get_comments_number only returns a numeric value displaying the number of comments
    if ( comments_open() ){
    if($num_comments == 0){
    $comments = __('Yorum yok','templatesquare');
    }
    elseif($num_comments > 1){
    $comments = $num_comments. __(' Yorum','templatesquare');
    }
    else{
    $comments ="1 Yorum yapılmış";
    }
    $write_comments = ''. $comments.'';

    }
    else{$write_comments = __('Comments off','templatesquare');}

    //get blog post thumb
    $custom = get_post_custom($post->ID);

    $cf_thumb = (isset($custom["thumb"][0]))? $custom["thumb"][0] : "";

    if($cf_thumb!=""){
    $thumb = '<img src='. $cf_thumb .' alt="" />';
    }elseif(has_post_thumbnail($post->ID) ){
    $thumb = get_the_post_thumbnail($post->ID, 'post-col'.$col.'', array('alt' => '', 'class' => ''));
    }else{
    $thumb = "<img src='/delihidirli/wp-content/uploads/resimyok.jpg'>";

    }

    if($col=="1"){
    if(($i%1) == 0 && $i>0){ $output .='<ul class="rp-shortcode col-1">'; }
    }elseif($col=="2"){
    if(($i%2) == 0 && $i>0){ $output .='<ul class="rp-shortcode col-2">'; }
    }elseif($col=="3"){
    if(($i%3) == 0 && $i>0){ $output .='<ul class="rp-shortcode col-3">'; }
    }

    if((($i+1)%$col) == 0 && $i>0){
    $addclass ="nomargin";
    }else{
    $addclass ="";
    }

    $output .='<li class="'.$addclass.'">';
    $output .='<h3>'.get_the_title().'</h3>';
    $output .='<div class="postthumb">'.$thumb.'</div>';
    $output .='<p>'.ts_string_limit_char($excerpt,150).''.__('Devamı..','templatesquare').'</p>';
    ?>
    <?php $output .=''.the_author().'';

    $output .='';

    $i++; $addclass=""; endwhile; wp_reset_query();

    echo $output;
    ?>

    <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?php if ( $wp_query->max_num_pages > 1 ) : ?>
    <?php if(function_exists('wp_pagenavi')) { ?>
    <?php wp_pagenavi(); ?>
    <?php }else{ ?>
    <div id="nav-below" class="navigation">
    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Previous', 'templatesquare' ) ); ?></div>
    <div class="nav-next"><?php previous_posts_link( __( 'Next <span class="meta-nav">→</span>', 'templatesquare' ) ); ?></div>

    <?php }?>
    <?php endif; ?>

    <?php endif; ?>

  • Bu başlığı açarken bir blog adresi veya başlık açma nedenini belirtmediniz.

    Bu destek forumu WordPress.com’da barındırılan bloglar içindir. Eğer sorunuz kendinizin barındırmakta olduğu bir WordPress blogu ile ilgili ise gerekli yardımı WordPress.org forumlarda bulabilirsiniz.
    .
    WordPress.com ile WordPress.org arasındaki farkı anlayamıyorsanız, şu bilgiden yararlanabilirsiniz.

    Sorunuzda blogunza bağlantıyı eklemeyi unuttuysanız, lütfen cevap atarak belirtiniz. Böylece kullanıcıların sorunuza cevap vermeleri kolaylaşır.

    Bu otomatik bir mesajdır.

  • ‘Yazar adı farklı yerde çıkıyor’ konusu yeni yanıtlara kapalı.