Hallo,
wie die Überschrift schon sagt, brauch ich Hilfe :-D
es geht um folgendes.
http://www.melangeskateboarding.at da findet ihr die (noch nicht fertige) seite.
wenn ihr jetzt oben im menü auf blog geht, kommt ihr zu einer statischen Seite auf der NUR die Artikel der Kategorie "blog" angezeigt werden. Das funktioniert ja wunderbar. Das Problem ist folgendes: Ganz unten, ist die Navigationsleiste wo man zur nächsten "seite" der Artikel kommt. (next_posts_link() ) - nur es werden nicht die nächsten artikel angezeigt.
Ich hoffe es kann mir wer helfen und Danke im voraus!
EDIT: Wordpress 2.7 Theme: zum Teil selber gemacht
hier der code der statischen seite:
PHP
<?php
/*
Template Name: BLOG-TEMPLATE
*/
?>
<?php get_header(); ?>
<div id="contentblogseite">
<h1>blog</h1>
<?php query_posts('category_name=blog&showposts=5'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <small><?php edit_post_link('(edit)'); ?></small>
<div class="entry">
<?php the_content('Continue reading »'); ?>
<br>
<br>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php previous_posts_link('« vorige Seite') ?></div>
<div class="alignright"><?php next_posts_link('nächste Seite »') ?></div>
</div>
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Alles anzeigen