footer sorunu
7
●620
- 24-10-2010, 19:33:14Kimlik 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! » <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 » <span></a></li> </ul>
buraya koy >/div> - 24-10-2010, 20:11:54
<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 ?> » <span></a></li> <?php } } ?> </ul> <hr class="clear" /> </div><!--/footer --> </div><!--/page --> - 24-10-2010, 23:37:52Footerdaki 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 ?> » <span></a></li> <?php } } ?> </li> <?php endwhile;?> </ul> </div> <hr class="clear" /> </div><!--/footer --> </div><!--/page --> - 25-10-2010, 01:33:21Alttaki <?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 ?> » <span></a></li> <?php } } ?> </ul> </div> <hr class="clear" /> </div><!--/footer --> </div><!--/page -->