archive.php

Alıntı
<?php get_header(); ?>

<div id="col1">
<div id="content">
<div id="contentbox">
<?php /* If this is a category archive */ if (is_category()) { ?>
Buradasınız: Ana Sayfa //
<?php single_cat_title(); ?>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
Buradasınız: Ana Sayfa // Etiket
<?php single_tag_title(); ?>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
Buradasınız: Ana Sayfa // Arşiv için
<?php the_time('d F Y'); ?>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
Buradasınız: Ana Sayfa // Arşiv için
<?php the_time('F, Y'); ?>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
Buradasınız: Ana Sayfa // Arşiv için
<?php the_time('Y'); ?>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
Yazar Arşivi
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
Blog Arşivi
<?php } ?>
</div>
<!--end: contentbox-->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="contentbox">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?> için kalıcı bağlantı">
<?php the_title(); ?>
</a></h2>
<div class="byline"> Tarih
<?php the_time('d F Y') ?>
Yazan <span class="author">
<?php the_author_posts_link(); ?>
</span> </div>
<div class="entry">
<?php the_content_limit(300, 'Devamı...'); ?>
<div class="clear"></div>
<div class="entryfooter"> <span class="link"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?> için kalıcı bağlantı">Kalıcı Bağlantı</a></span> <span class="comments">
<?php comments_popup_link('Yorum Yok', '1 Yorum', '% Yorum'); ?>
</span></div>
<div class="meta"><span> Kategori:
<?php the_category(','); ?>
</span><span class="tags">
<?php the_tags('Etiketler: ', ', ', ''); ?>
</span> </div>
</div>
<!--end: entry-->
</div>
<!--end: contentbox-->
<?php endwhile; ?>
<div class="clear"></div>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
<?php else : ?>
<?php endif; ?>
<div class="clear"></div>
</div>
<!--end: content-->
</div>
<!--end: col1-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>