Kann diese Einträge nicht finden.
Die ist meine archives.php
ZitatAlles anzeigen<?php get_header(); ?>
<?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()) { ?>
<h1 class="pagetitle">Archiv für die ‘<?php echo single_cat_title(); ?>’ Category</h1><?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h1 class="pagetitle">Archiv für <?php the_time('F jS, Y'); ?></h1><?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h1 class="pagetitle">Archiv für <?php the_time('F, Y'); ?></h1><?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h1 class="pagetitle">Archiv für <?php the_time('Y'); ?></h1><?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1 class="pagetitle">Author Archiv</h1><?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1 class="pagetitle">Blog Archiv</h1>
<?php } ?>
<div id="content" >
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="postmeta">
<span class="author">Geschrieben von <?php the_author(); ?> </span> <span class="clock"> <?php the_time('j. F Y'); ?></span> <span class="comm"><?php comments_popup_link('0 Kommentare', '1 Kommentare', '% Kommenatre'); ?></span>
</div>
<div class="entry">
<?php
if ( has_post_thumbnail() ) { ?>
<img class="postimg" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&h=200&w=200&zc=1" alt="" />
<?php } else { ?>
<img class="postimg" src="<?php bloginfo('template_directory'); ?>/images/dummy.png" alt="" />
<?php } ?><?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
<div class="clear"></div>
</div>
<div class="singleinfo">
<span class="category">Kategorie: <?php the_category(', '); ?> </span>
</div></div>
<?php endwhile; ?><?php getpagenavi(); ?>
<?php else : ?>
<h1 class="title">Nicht gefunden</h1>
<p>Sorry, aber du suchst nach etwas, was es hier nicht gibt.</p><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>