Aynı Dert Bendede Var İşte İndex.php İçi
<?php get_header() ?>
<?php if(!is_paged()) { ?>
<div id="top" class="clearfloat">
<div id="headline">
<center><img src="<?php bloginfo('template_url'); ?>/images/manset.jpg" width="590px" height="32px" alt="" /></center>
<?php include (TEMPLATEPATH . "/manset/manset.php"); ?>
</div>
<div id="featured">
<img src="<?php bloginfo('template_url'); ?>/images/featured.png" width="300px" height="19px" alt="" />
<?php query_posts("showposts=4&category_name=Graphic Design"); $i = 1; ?>
<?php while (have_posts()) : the_post(); ?>
<div class="clearfloat">
<a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?>">
<?php if( get_post_meta($post->ID, "thumbnail", true) ) { ?>
<img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumbnail", true); ?>&w=100&h=65&zc=1" width="100" height="65" alt="Önizleme" class="alignleft" />
<?php } else { ?>
<img src="<?php bloginfo('template_url'); ?>/images/fea_thumb.jpg" width="100" height="65" alt="Önizleme" class="alignleft" />
<?php } ?>
</a>
<div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a></div>
<div class="yazi"><?php the_content_limit(75, "..."); ?></div>
</div>
<?php endwhile; ?>
</div>
</div>
<div id="middle" class="clearfloat">
<img src="<?php bloginfo('template_url'); ?>/images/category.png" class="clearfloat" alt="" />
<?php $display_categories = array(3,4,6,5,7); $i = 1;
foreach ($display_categories as $category) { ?>
<div id="cat-<?php echo $i; ?>" class="category">
<?php query_posts("showposts=1&cat=$category")?>
<span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span>
<a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a>
</div>
<?php $i++; ?>
<?php } ?>
</div>
<?php } ?>
<div id="botto" class="clearfloat">
<div id="front-list">
<?php
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts("cat=-27,-28&paged=$page"); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="clearfloat">
<div class="spoiler">
<div class="videoitem">
<div class="ratings">
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<div class="comments3">
<?php comments_number('0', '1', '%'); ?>
</div>
<div class="thumbnail">
<a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?>">
<?php if( get_post_meta($post->ID, "thumbnail", true) ) { ?>
<img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumbnail", true); ?>&w=192&h=120&zc=1" width="192" height="120" class="alignleft" />
<?php } else { ?>
<img src="<?php bloginfo('template_url'); ?>/images/fea_thumb.jpg" width="192" height="120" class="alignleft" />
<?php } ?>
</a>
</div>
</div>
<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
<div class="text"> <?php the_content_limit(250, "<span class='read-more'>Devamını okuyun »</span>"); ?></div>
<div class="clear"></div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
else { ?>
<div class="right"><?php next_posts_link('Next Page »') ?></div>
<div class="left"><?php previous_posts_link('« Previous Page') ?></div>
<?php } ?>
</div>
</div>
<?php get_sidebar() ?>
</div>
<?php get_footer() ?>