Hi,
ich bekomme in meiner "search.php" keine weiteren Seiten angezeigt.
Ich arbeite mit dem Advanced Search Plugin und folgendem Code für die "search.php":
PHP
<?php if (have_posts()) : ?>
<h1 class="pagetitle">Suchergebnisse:</h1>
<h2><?php previous_posts_link('« Vorherige Ergebnisse') ?> <?php next_posts_link('Weitere Ergebnisse »') ?></h2>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="entry">
<?php the_excerpt() ?>
<p style="margin: 0; padding: 0; text-align: right;"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>" class="red">...mehr</a></p>
</div>
</div>
<div style="border-bottom: 1px dotted #d0d0d0; margin: 0; padding: 0; height: 1; line-height: 1;"> </div>
<?php endwhile; ?>
<h2><?php previous_posts_link('« Vorherige Ergebnisse') ?> <?php next_posts_link('Weitere Ergebnisse »') ?></h2>
<?php else : ?>
<h2 class="center">Nicht gefunden</h2>
<?php endif; ?>
Alles anzeigen
Ich finde den Fehler einfach nicht :(
Grüße
Mo