Bir müşterim için tema yapıyorum. Tema yapımında index sol ve sağ sidebarlar var. Herşey anasayfada düzgünce çalışıyor. Single'ı yapmaya başladım doğru düzgün çalışıyor fakat sağ sidebarda içerik çeken alanlarım (duyuru vb.) single sayfasına geçince single.php'deki konuyu gösteriyor sadece.
şöyle bir resim ve kodlarla açıklayayım.
Bu Anasayfadaki

Bu da içerik sayfasından

Şimdi de kodları vereyim.
Sağ Sidebar
<h1>Duyurular</h1>
<ul>
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" scrolldelay="10" direction="up">
<?php query_posts($query_string . '&cat=3&showposts=10'); ?>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<li class=" ">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</li>
<?php endwhile; ?>
<?php endif; ?>
</marquee>
</ul>Single<?php get_header(); ?>
<?php include (TEMPLATEPATH . "/solsidebar.php"); ?>
<div id="ic" class="blok-icerik">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php $image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full'); if ( has_post_thumbnail() ) { ?>
<div id="mod_18617" class="mod-icerik ">
<h1><?php the_title(); ?></h1>
<img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo $image_url[0]; ?>&w=650&h=400&zc=0" alt="<?php the_title(); ?>" class="responsive" /> <?php } ?>
<p><br></p><p style="margin-top: 6px; margin-bottom: 6px; color: rgb(20, 24, 35); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 19.32px;">
<?php the_content();?>
</p>
<p><br></p> </div>
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . "/sagsidebar.php"); ?>
<?php get_footer(); ?>Bu konuda bir fikri olan varsa çok memnun olurum. Yoksa farklı şeyler deneyeceğim artık.