K
kaim
Aktives Mitglied
Thread Starter
- Dabei seit
- 03.04.2003
- Beiträge
- 189
- Reaktionspunkte
- 0
Hallo. Seit dem das Jahr sich geändert hat, sortierte mein Wordpress Blog die Einträge falsch. Wenn ich die Seite lade, dann steht der erste Eintrag aus dem letzten Jahr (also mein aller erster Eintrag) an erster Stelle. Ich habe nur raus gefunden, dass es etwas mit der ARCHIV.php Datei des Themas zu tun haben könnte:
<?php get_header(); ?>
<div id="main">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="day-date">
<span class="day"><?php the_time('d'); ?></span>
<span class="month"><?php the_time('M'); ?></span>
</div>
<h2 id="p<?php the_ID(); ?>" class="post-title"><a
href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="post-info">By <?php the_author(); ?> @ <?php the_time(); ?><br/> <?php the_category(' : '); ?>
</p>
<div class="post-content">
<?php the_excerpt (); ?>
<a href="<?php the_permalink(); ?>">Read the rest</a>
</div>
<p class="post-info-co"><p class="post-info-co"><?php comments_popup_link(__('no comments'), __('one comment'), __('% comments')); ?></p>
</div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<p id="prevnext"><?php posts_nav_link('','','older posts') ?>
<?php posts_nav_link('','newer posts','') ?></p>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Kann mir jemand weiterhelfen und meinen Blog wieder bauen? Danke
<?php get_header(); ?>
<div id="main">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="day-date">
<span class="day"><?php the_time('d'); ?></span>
<span class="month"><?php the_time('M'); ?></span>
</div>
<h2 id="p<?php the_ID(); ?>" class="post-title"><a
href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="post-info">By <?php the_author(); ?> @ <?php the_time(); ?><br/> <?php the_category(' : '); ?>
</p>
<div class="post-content">
<?php the_excerpt (); ?>
<a href="<?php the_permalink(); ?>">Read the rest</a>
</div>
<p class="post-info-co"><p class="post-info-co"><?php comments_popup_link(__('no comments'), __('one comment'), __('% comments')); ?></p>
</div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<p id="prevnext"><?php posts_nav_link('','','older posts') ?>
<?php posts_nav_link('','newer posts','') ?></p>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Kann mir jemand weiterhelfen und meinen Blog wieder bauen? Danke