İşte archive.php burada.
Ben 5 ile ilgili bir şey bulamadım
Kod:
<?php get_header(); ?>
<?php include (TEMPLATEPATH . "/featured.php"); ?>
<div id="fixcornersT"><div id="rightcornerT"></div></div>
<!-- begin main column -->
<div id="bigcolumn">
<div id="widecolumn">
<div class="postbody">
<?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>Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2>Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2>Archive for <?php the_time('F jS, Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2>Archive for <?php the_time('F, Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2>Archive for <?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2>Author Archive</h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2>Blog Archives</h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div class="p">
<div class="thumb"><?php echo get_the_image(array('Thumbnail','My Thumbnail'),'thumbnail'); ?></div>
<div class="summary">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="time"><?php the_time('j F Y, l G:i'); ?></div>
<div class="excerpt"><p><?php the_excerpt_reloaded(50, '<a>', FALSE, FALSE, 2); ?></p></div>
<div class="info">Bulunduğu Kategori: <?php the_category(', ') ?> | <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Devamını Oku</a> | <a href="<?php the_permalink() ?>#commenting" title="Yorumları Oku"><?php comments_number('Yorum Yok','1 Yorum','% Yorum'); ?></a></div>
<?php the_tags('<div class="Etiket">Tags: ', ', ', '</div>'); ?>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="navleft"><?php next_posts_link('« Önceki Sayfa') ?></div>
<div class="navright"><?php previous_posts_link('Sonraki Sayfa »') ?></div>
<div class="clear"></div>
</div>
<?php else : ?>
<h1>Sorry! Could not find what you're looking for.</h1>
<h3>What are you looking for?</h3>
<?php include(TEMPLATEPATH."/searchform.php"); ?>
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<!-- end main column -->
<?php get_footer(); ?>