• 24-10-2010, 19:28:58
    #1
    Sitemde footer da yer alan En Çok Yorumlananlar: diğerlerine göre biraz daha yukarıda duruyor nasıl aynı seviyeye çekebilirim.
  • 24-10-2010, 19:33:14
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <div class="footer-recent-comments">
        	
       <h4>Son Yorumlar</h4>
    <ul>
    	<li><strong><a href="http://firsatyorum.com/sedef-sanat-atolyesi-dekoratif-boyama-egitimi#comment-3" title="on Sedef Sanat Atölyesi Dekoratif Boyama Eğitimi">Leyla</a></strong>: sanatın her alanı güzeldir gelecek nesillere aktarmak gerekm...</li>
    	<li><strong><a href="http://firsatyorum.com/alsancak-dream-durum%e2%80%99den-lezzetli-indirim#comment-2" title="on Alsancak Dream Dürüm’den lezzetli indirim! ">Osman</a></strong>: Alsancakta Nefis Dürümleri Yemek Harikadır....</li>
    </ul>  </div>
      <!--recent comments end -->
    en sondaki </div> kaldir

     <h4>En Çok Yorumlananlar:</h4>
    <ul id="moostick"> 
     
    <li><a href="http://firsatyorum.com/alsancak-dream-durum%e2%80%99den-lezzetli-indirim" title="Alsancak Dream Dürüm’den lezzetli indirim! ">Alsancak Dream Dürüm’den lezzetli indirim!  &raquo; <span></a></li> 
     
    <li><a href="http://firsatyorum.com/sedef-sanat-atolyesi-dekoratif-boyama-egitimi" title="Sedef Sanat Atölyesi Dekoratif Boyama Eğitimi">Sedef Sanat Atölyesi Dekoratif Boyama Eğitimi &raquo; <span></a></li> 
     
    </ul>
    buraya koy >/div>
  • 24-10-2010, 19:55:03
    #3
    dediğini yapınca son yorumlananların altına geliyor en çok yorumlananlar ve en sağ taraf boş alıyor
  • 24-10-2010, 19:56:54
    #4
    footer.php den o kodlari koyarsan daha kolay yardim alirsin kolay gelsin.
  • 24-10-2010, 20:11:54
    #5
     <div id="footer">
      <!--recent comments start -->
      <div class="footer-recent-posts">
     <h4>Son Yazılar</h4>
      	<?php query_posts('showposts=5'); ?>
    	<ul>
    	<?php while (have_posts()) : the_post(); ?>
    	<li>
    	<strong><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></strong><br />
    	<small><?php the_time('m-d-Y') ?></small>
    	</li>
    	<?php endwhile;?>
    	</ul>
      </div>
      <!--recent comments start -->
    
      <!--recent comments start -->
      <div class="footer-recent-comments">
        <?php include (TEMPLATEPATH . '/simple_recent_comments.php'); /* recent comments plugin by: www.g-loaded.eu */?>
    	<?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments(5, 60, '
       <h4>Son Yorumlar</h4>', ''); } ?>
      </ul>
      </div>
      <!--recent comments end -->
    
       <h4>En Çok Yorumlananlar:</h4>
    <ul id="moostick"> 
    <?php 
    $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5"); 
    foreach ($result as $topten) { 
    $postid = $topten->ID; 
    $title = $topten->post_title; 
    $commentcount = $topten->comment_count; 
    if ($commentcount != 0) { ?> 
    <li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"><?php echo $title ?> &raquo; <span></a></li> 
    <?php } } ?> 
    </ul>
    	
    	
      <hr class="clear" />
      </div><!--/footer -->
    </div><!--/page -->
  • 24-10-2010, 23:37:52
    #6
    Footerdaki tüm kodları alttaki kodla değiştir.. düzelir sanırım
     
    <div id="footer"> 
      <!--recent comments start --> 
      <div class="footer-recent-posts"> 
     <h4>Son Yazılar</h4> 
          <?php query_posts('showposts=5'); ?> 
        <ul> 
        <?php while (have_posts()) : the_post(); ?> 
        <li> 
        <strong><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></strong><br /> 
        <small><?php the_time('m-d-Y') ?></small> 
        </li> 
        <?php endwhile;?> 
        </ul> 
      </div> 
      <!--recent comments start --> 
     
      <!--recent comments start --> 
      <div class="footer-recent-comments"> 
        <?php include (TEMPLATEPATH . '/simple_recent_comments.php'); /* recent comments plugin by: www.g-loaded.eu */?> 
        <?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments(5, 60, ' 
       <h4>Son Yorumlar</h4>', ''); } ?> 
      </ul> 
      </div> 
      <!--recent comments end --> 
     
    <div class="footer-recent-posts"> 
     <h4>En Çok Yorumlananlar</h4> 
          <?php query_posts('showposts=5'); ?> 
        <ul> 
        <?php  
    $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5");  
    foreach ($result as $topten) {  
    $postid = $topten->ID;  
    $title = $topten->post_title;  
    $commentcount = $topten->comment_count;  
    if ($commentcount != 0) { ?>  
    <li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"><?php echo $title ?> &raquo; <span></a></li>  
    <?php } } ?>  
        </li> 
        <?php endwhile;?> 
        </ul> 
      </div> 
     
     
      <hr class="clear" /> 
      </div><!--/footer --> 
    </div><!--/page -->
  • 24-10-2010, 23:54:46
    #7
    footer kayboldu ve sidebar da

    Parse error: syntax error, unexpected T_ENDWHILE in /home/frstyrm9/public_html/wp-content/themes/deliciously_blue/footer.php on line 40

    dedi
  • 25-10-2010, 01:33:21
    #8
    Alttaki <?php endwhile;?> kodu fazlaymış..
    Bu şekilde dene..

     
    <div id="footer"> 
      <!--recent comments start --> 
      <div class="footer-recent-posts"> 
     <h4>Son Yazılar</h4> 
          <?php query_posts('showposts=5'); ?> 
        <ul> 
        <?php while (have_posts()) : the_post(); ?> 
        <li> 
        <strong><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></strong><br /> 
        <small><?php the_time('m-d-Y') ?></small> 
        </li> 
        <?php endwhile;?> 
        </ul> 
      </div> 
      <!--recent comments start --> 
     
      <!--recent comments start --> 
      <div class="footer-recent-comments"> 
        <?php include (TEMPLATEPATH . '/simple_recent_comments.php'); /* recent comments plugin by: www.g-loaded.eu */?> 
        <?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments(5, 60, ' 
       <h4>Son Yorumlar</h4>', ''); } ?> 
      </ul> 
      </div> 
      <!--recent comments end --> 
     
    <div class="footer-recent-posts"> 
    <h4>En Çok Yorumlananlar</h4>
    <ul>
    <?php 
    $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5"); 
    foreach ($result as $topten) { 
    $postid = $topten->ID; 
    $title = $topten->post_title; 
    $commentcount = $topten->comment_count; 
    if ($commentcount != 0) { ?> 
    <li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"><?php echo $title ?> &raquo; <span></a></li> 
    <?php } } ?>
    </ul>
    </div>
     
     
      <hr class="clear" /> 
      </div><!--/footer --> 
    </div><!--/page -->