• 14-02-2009, 18:59:09
    #1
    Üyeliği durduruldu
    arkadaşlar kategoriye girince yan menüler aşağıda gözküyor sayfayı bozan bir şey yok ama öyle nasıl çözebilirim.kodlar aşağıda belki çözebilirsiniz.

    Örnek kategori

    	<?php get_header(); ?>
    
    	<div class="primaryContent">
        
        	<div class="post">
        
    <?php is_tag(); ?>
    		<?php if (have_posts()) : ?>
    
     	  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
          
     	  <?php /* If this is a category archive */ if (is_category()) { ?>
    		
            <h2 class="pagetitle">‘<?php single_cat_title(); ?>’ Kategorisi için Arşiv</h2>
     	  
    	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    		
            <h2 class="pagetitle">‘<?php single_tag_title(); ?>’ olarak etiketlenmiş yazılar</h2>
     	  
    	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    		
            <h2 class="pagetitle"><?php the_time('d F Y'); ?> için Arşiv</h2>
     	  
    	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    		
            <h2 class="pagetitle"><?php the_time('F Y'); ?> için Arşiv</h2>
     	  
    	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    		
            <h2 class="pagetitle"><?php the_time('Y'); ?> için Arşiv</h2>
    	  
    	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    		
            <h2 class="pagetitle">Yazar Arşivi</h2>
            
     	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
          
    		<h2 class="pagetitle">Blog Arşivi</h2>
            
     	  <?php } ?>
    	
    	</div>
    	
    	<?php while (have_posts()) : the_post(); ?>
            
            <div class="post" id="post-<?php the_ID(); ?>">
                
    				<h1>
                    	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
    						<?php the_title(); ?>
                        </a>
                	</h1>
                    
                    <p class="post-detail">
                    	
                        Yazar: <strong><?php the_author_link() ?></strong> | Yayın Tarihi:
                        <strong><?php the_time('d F Y') ?></strong> | Yorumlar: 
                        	<strong><a href="<?php comments_link(); ?>" title="Yorumlar">
                				<?php comments_number('Henüz Yorum Yok :(', '1 Yorum', '% Yorum' );?>
                			</a></strong> <br /> Kategori: <strong><?php the_category(', '); ?></strong>
                    
                    </p>
                    
                    <?php the_content('Yazının Devamı &raquo;'); ?>
                    
                    
                   	
                    <div class="clear"></div>
                    
                </div>
    				
       <?php endwhile; ?>
    			
       <?php else : ?>
    
    		<h2 class="center">Bulunamadı</h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    	<?php endif; ?>
    	
        </div>
        
    	</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
  • 14-02-2009, 19:09:53
    #2
    O kategoriye eklediğin son yazıların kodlarına bak
    " <div> li kodlar varsa onları sil, onlar bozmuş olabilir, temadan kaynaklı olduğunu sanmam.
  • 14-02-2009, 20:05:31
    #3
    Üyeliği durduruldu
    baktım sildim hatta gene sorun devam ediyor
  • 14-02-2009, 20:24:24
    #4
    Üyeliği durduruldu
    Bu sorun yazı içerisindeki bir tagların kapatılmamış olmasıyla ilgili de olabiliyor. Yazılarını kontrol et. HTML görünümünden tagları kontrol et derim.
  • 14-02-2009, 21:57:50
    #5
    Üyeliği durduruldu
    tag derken hocam
  • 14-02-2009, 22:03:15
    #6
    index.php yi atsana hocam burdan..
  • 15-02-2009, 17:42:49
    #7
    Üyeliği durduruldu
    buyrun hocam

    <?php get_header(); ?>
    	
        <div class="primaryContent">
    	
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
                
    				<h1>
                    	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
    						<?php the_title(); ?>
                        </a>
                	</h1>
                    
                    <p class="post-detail">
                    	
                        Yazar: <strong><?php the_author_link() ?></strong> | Yayın Tarihi:
                        <strong><?php the_time('d F Y') ?></strong> | Yorumlar: 
                        	<strong><a href="<?php comments_link(); ?>" title="Yorumlar">
                				<?php comments_number('Henüz Yorum Yok :(', '1 Yorum', '% Yorum' );?>
                			</a></strong> <br /> Kategori: <strong><?php the_category(', '); ?></strong>
                    
                    </p>
                    
                    <?php the_content('Yazının Devamı &raquo;'); ?>
                    
                    
                   	
                    <div class="clear"></div>
                    
                </div>
    
    		<?php endwhile; ?>
    
    		
    
    	<?php else : ?>
    
    		<div class="post">
            	
                <h2>Malesef Aradığınız Sayfa Bulunamadı</h2>
                
    			<p>Peki ne yapabilirsiniz? Size sunabileceğimiz çözümlerimiz aşağıda sıralanmıştır.</p>
                
                <ol>
                	<li><a href="#nogo">Yazdığınız adreste harf hatası olup olmadığını kontrol edebilirsiniz</a></li>
                    <li><a href="#nogo">Arama Motorunu kullanabilirsiniz</a></li>
                    <li><a href="#nogo">Kategori Arşivlerine bakabilirsiniz</a></li>
                    <li><a href="#nogo">Aylık Arşivlere bakabilirsiniz</a>
                </ol>
                
            </div>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    	
        <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
        
    	</div>
    	
        
        
    <?php get_sidebar(); ?>