<?php get_header(); ?>
<div id="icerik">
<?php if (have_posts()) : ?>
<div id="konular">
<div class="ayirac"></div>
<?php query_posts('cat=&orderby=title&order=ASC'); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="konu">
<div class="resim">
<?php $image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full'); if ( has_post_thumbnail() ) { ?>
<a title="<?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo $image_url[0]; ?>&w=200&h=150&zc=1" alt="<?php the_title(); ?>" width="200" height="150" /></a>
<?php } else { ?>
<a title="<?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, 'resim',true) ?>" alt="<?php the_title(); ?>" width="200" height="150" /></a>
<?php } ?>
</div>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php echo kt_limit($post->post_content, 400); ?>
<div class="yazibilgi"><span class="yazar"><?php the_author(); ?></span><span class="kat"><?php the_category(', ') ?></span><span class="yorum"><?php comments_number('0', '1', '%'); ?> Yorum</span><span class="devami"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Devami..</a></span></div>
</div>
<?php endwhile; ?>
<div class="temizle"></div>
<div class="sayfalama"><?php echo wp_pagenavi(); ?></div>
</div>
<?php else : ?>
<div class="yok">
<h2>Aradiginiz Sayfa bulunamamistir.</h2>
<p>Aradiginiz sayfa adresini dogru yazdiginizdan emin olunuz.</p>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); get_footer(); ?>Böyle dener misin?
kategori sayfalamada 2. sayfaya gecerken hata olustu hocam onun dısında oldu