<ul> <?php wp_list_cats(); ?> </ul> </div> <!-- Start Recent Comments --> <?php if (function_exists('mdv_recent_comments')) { ?> <div class="widget widget_recent_entries"> <h2>Comentarios</h2> <ul> <?php mdv_recent_comments('10'); ?> </ul> </div> <?php } ?> <!-- End Recent Comments --> <?php } ?> </div> </div>
<!-- Start Recent Comments/Articles --> <div class="Recent"> <ul class="TabMenu"> <li class="TabLink"><a href="#" id="tab0" onclick="ShowTab(0)"><span>Son Yorumlar</span></a></li> <li class="TabLink"><a href="#" id="tab1" onclick="ShowTab(1)"><span>Son Yazılar</span></a></li> <li class="NavLinks" id="paging0"><div style="display:none"></div></li> <li class="NavLinks" id="paging1"><div style="display:none"></div></li> </ul> <?php if (function_exists('mdv_recent_comments')) { ?> <div class="TabContent" style="display:none" id="div0"> <ul> <?php mdv_recent_comments(); ?> </ul> </div> <?php } ?> <?php if (function_exists('mdv_recent_posts')) { ?> <div class="TabContent" style="display: none" id="div1"> <ul> <?php mdv_recent_posts(); ?> </ul>
</li> --> <?php /* If this is the single or home */ if (is_home()) { ?> <li> <!-- Start Recent Comments --> <?php if (function_exists('mdv_recent_comments')) { ?> <h2>Recent Comments</h2> <ul> <?php mdv_recent_comments('5'); ?> </ul> <?php } ?> <!-- End Recent Comments --> <h2>Hot Posts</h2> <ul> <?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM {$wpdb->posts} ORDER BY comment_count DESC LIMIT 0 , 10"); foreach ($result as $post) { setup_postdata($post); $postid = $post->ID; $title = $post->post_title;