Im Offiziellen Englischen Support-Forum gibt es schon seit längerem keinen Support mehr zum Theme, daher versuche ich es mal hier.
Mein Problem ist die Anzeigeform vom Archiv bei meinem Blog.
Wenn man auf Archiv geht, dann bekommt man durch ein eigens definiertes Seitentemplate das Archiv als Liste, so wie ich das auch möchte bzw. mir eingerichtet habe.
Wenn man dann aber zB. auf April 2007 klickt, wo ja 49 Artikel drin sind, werden nur ein paar Artikel in der folgenden Übersicht aufgelistet und der Rest fehlt irgendwie. Zudem ist es mir bisher auch nicht gelungen, die Standartmässig verbauten "<frühere / ältere>" Verlinkungen richtig einzubauen.
Habe mal zum bessen Verständnis den Code meiner archive.php mit angehängt. Vielleicht kann mir ja jemand bei dem Problem weiterhelfen.
<div id="sitecontainer">
<?php get_header(); ?>
<div id="content" class="container">
<div id="front" class="column_main">
<div class="category_header">
<?php is_tag(); ?>
<?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><?php single_cat_title(); ?></h1>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h1>Artikel mit dem Schlagwort: ‘<?php single_tag_title(); ?>’</h1>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h1><?php the_time('j. F Y'); ?> um <?php the_time('H:i'); ?></h1>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h1><?php the_time('j. F Y'); ?> um <?php the_time('H:i'); ?></h1>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h1><?php the_time('j. F Y'); ?> um <?php the_time('H:i'); ?></h1>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1>Autor Archiv</h1>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1><?php bloginfo('name'); ?> Archive</h1>
<?php } ?>
</div>
<?php $count = 0; ?>
<?php while (have_posts()) : the_post(); ?>
<?php $count++; ?>
<?php if ($count == 1) : ?> <!-- The 1st post, displayed as featured from each category with the black background by default -->
<ul> <!-- List the rest of the articles found in the category -->
<?php else : ?>
<li><span class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></span> <span class="meta"> - <?php the_time('j. F Y'); ?> um <?php the_time('H:i'); ?> - <a href="<?php the_permalink() ?>#commenting" title="Jump to the comments"><?php comments_number('0 Kommentare','1 Kommentar','% Kommentare'); ?></a></span>
</li>
<?php endif; ?>
<?php endwhile; ?> <!-- END -->
</ul>
<?php else : ?> <!-- If there is nothing -->
<h1>Nichts gefunden</h1>
<?php endif; ?> <!-- END -->
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
</div>
Alles anzeigen