Merhabalar!!
Ben lin temasını kullanıyorum. Daha önce açtığım konuda @tetal moderatör kardeşimiz sağolsun yardımcı olmuştu. Ancak Ben ince ayarları yaparken üsttaraftaki
"Günün Başlıkları" Bölümünü silmişim oradan son konular nasıl çekebilirim ?
İndex.php kodu
Ben lin temasını kullanıyorum. Daha önce açtığım konuda @tetal moderatör kardeşimiz sağolsun yardımcı olmuştu. Ancak Ben ince ayarları yaparken üsttaraftaki
"Günün Başlıkları" Bölümünü silmişim oradan son konular nasıl çekebilirim ?
İndex.php kodu
PHP:
<?php get_header(); ?>
<div id="left">
<div id="left_l">
<div id="swfnews">
<?php if(function_exists('flash')) { flash(); } ?>
</div>
<?php include (TEMPLATEPATH . '/tt/ph.php'); ?>
<div class="lad"><a href="#"><img src="<?php bloginfo('stylesheet_directory'); ?><script type="text/javascript"><!--
google_ad_client = "pub-0804682578370239";
/* 234x60 */
google_ad_slot = "6928019165";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
alt="" /></a></div>
<div class="lad"><a href="#"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/lad.gif" alt="" /></a></div>
<?php include (TEMPLATEPATH . '/tt/cat.php'); ?>
</div>
<div id="left_m">
<div id="cnews">
<div class="tab"> <h3>Günün Başlıkları</h3></div>
<div class="txt">
<div id="news">
<?php query_posts('showposts=1&cat=191'); while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<?php endwhile; ?>
</div>
<div class="news">
<ul>
<?php query_posts('showposts=6&cat=191&offset=1'); while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="a_blue"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
</div>
</div>
</div>
<?php include (TEMPLATEPATH . '/tt/cats.php'); ?>
</div>
<div id="left_b">
<div class="bad"><a href="#"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bad.gif" alt="" /></a></div>
<?php include (TEMPLATEPATH . '/tt/post.php'); ?>
</div>
</div>
<?php get_sidebar(); get_footer(); ?>