Hallo Wordpressler,
ich bin gerade an einem etwas "zerbröselten" Loop für die Startseite und muss nun feststellen, dass posts_nav_link keinerlei Reaktion hervorruft. Weder category.php noch archive.php werden angesteuert.
Und ich glaube, dabei bräuchte ich jezt mal eure Hilfe. Für diejenigen, die ein Auge drauf werfen wollen, hier mein aktueller Loop:
Danke schon mal dafür!
ZitatAlles anzeigen<?php get_header(); ?>
<div id="gimikku">
<div id="single_header">
<div id="single_header_logo">
<a href="http://gimikku.de/wp-test/" target="_blank"><img src="http://gimikku.de/wp-test/wp-con…logo-single.png" width="337" height="65" alt="Gimikku Home" /></a>
</div>
<div id="header_search">
<div id="subheader_suche"><?php get_search_form(); ?></div>
</div>
<div id="subheader_forum">Forum</div>
</div>
</div><!-- header -->
<div id="content_index" role="main">
<div id="content_top_column_middle_top">
<?php query_posts('showposts=1'); ?>
<?php $posts = get_posts('numberposts=1&offset=11'); foreach ($posts as $post) : start_wp(); ?>
<?php static $count12 = 0; if ($count12 == "1") { break; } else { ?>
<div class="content_title_260">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</div>
<div class="content_author"><?php the_author_posts_link(); ?> </div>
<div class="content_date"><?php the_time('j. F Y H:i') ?></div>
<div class="content_comments_260">
<div id="single_sidebar_comments_img"><a href="#single_comments"><?php comments_number( '', '<imgsrc="http://www.gimikku.de/wp-content/the…low-comment.png"
width="23" height="18" alt="Kommentiere gimikku" />', '<img src="http://www.gimikku.de/wp-content/the…low-comment.png" width="23" height="18" alt="Kommentiere
gimikku"/>' ); ?></a></div>
<div id="single_sidebar_comments_count"><a href="#single_comments"><?php comments_number( '', '1', '%' ); ?></a></div>
<div id="single_sidebar_comments_text"><a href="#single_comments"><?php comments_number( '', 'Kommentar', 'Kommentare' ); ?></a></div>
</div>
<div class="content_teaser_260">
<?php $content = get_the_content();
$content = strip_tags($content);
echo substr($content, 0, 166);
?>…</div>
<?php $count12++; } ?>
<?php endforeach; ?>
</div>
<div id="content_bottom_large"><?php query_posts('showposts=1'); ?>
<?php $posts = get_posts('numberposts=1&offset=12'); foreach ($posts as $post) : start_wp(); ?>
<?php static $count13 = 0; if ($count13 == "1") { break; } else { ?>
<div class="content_title_470">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</div>
<div class="content_author"><?php the_author_posts_link(); ?> </div>
<div class="content_date"><?php the_time('j. F Y H:i') ?></div>
<div class="content_comments_470">
<div id="single_sidebar_comments_img"><a href="#single_comments"><?php comments_number( '', '<imgsrc="http://www.gimikku.de/wp-content/the…low-comment.png"
width="23" height="18" alt="Kommentiere gimikku" />', '<img src="http://www.gimikku.de/wp-content/the…low-comment.png" width="23" height="18" alt="Kommentiere
gimikku"/>' ); ?></a></div>
<div id="single_sidebar_comments_count"><a href="#single_comments"><?php comments_number( '', '1', '%' ); ?></a></div>
<div id="single_sidebar_comments_text"><a href="#single_comments"><?php comments_number( '', 'Kommentar', 'Kommentare' ); ?></a></div>
</div>
<div class="content_image_470">
<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php the_post_thumbnail( 'feature-main-thumb' ); ?>
</a>
<?php endif; ?>
</div>
<div class="content_teaser_470">
<?php $content = get_the_content();
$content = strip_tags($content);
echo substr($content, 0, 166);
?>…</div>
<?php $count13++; } ?>
<?php endforeach; ?>
</div></div>
<div id="content_bottom_column_right">
<div id="content_bottom_large"><?php query_posts('showposts=1'); ?>
<?php $posts = get_posts('numberposts=1&offset=13'); foreach ($posts as $post) : start_wp(); ?>
<?php static $count14 = 0; if ($count14 == "1") { break; } else { ?>
<div class="content_title_470">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</div>
<div class="content_author"><?php the_author_posts_link(); ?> </div>
<div class="content_date"><?php the_time('j. F Y H:i') ?></div>
<div class="content_comments_470">
<div id="single_sidebar_comments_img"><a href="#single_comments"><?php comments_number( '', '<imgsrc="http://www.gimikku.de/wp-content/the…low-comment.png"
width="23" height="18" alt="Kommentiere gimikku" />', '<img src="http://www.gimikku.de/wp-content/the…low-comment.png" width="23" height="18" alt="Kommentiere
gimikku"/>' ); ?></a></div>
<div id="single_sidebar_comments_count"><a href="#single_comments"><?php comments_number( '', '1', '%' ); ?></a></div>
<div id="single_sidebar_comments_text"><a href="#single_comments"><?php comments_number( '', 'Kommentar', 'Kommentare' ); ?></a></div>
</div>
<div class="content_image_470">
<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php the_post_thumbnail( 'feature-main-thumb' ); ?>
</a>
<?php endif; ?>
</div>
<div class="content_teaser_470">
<?php $content = get_the_content();
$content = strip_tags($content);
echo substr($content, 0, 166);
?>…</div>
<?php $count14++; } ?>
<?php endforeach; ?></div>
<div id="content_top_column_left_bottom"><?php query_posts('showposts=1'); ?>
<?php $posts = get_posts('numberposts=1&offset=14'); foreach ($posts as $post) : start_wp(); ?>
<?php static $count15 = 0; if ($count15 == "1") { break; } else { ?>
<div class="content_title_260">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</div>
<div class="content_author"><?php the_author_posts_link(); ?> </div>
<div class="content_date"><?php the_time('j. F Y H:i') ?></div>
<div class="content_comments_260">
<div id="single_sidebar_comments_img"><a href="#single_comments"><?php comments_number( '', '<imgsrc="http://www.gimikku.de/wp-content/the…low-comment.png"
width="23" height="18" alt="Kommentiere gimikku" />', '<img src="http://www.gimikku.de/wp-content/the…low-comment.png" width="23" height="18" alt="Kommentiere
gimikku"/>' ); ?></a></div>
<div id="single_sidebar_comments_count"><a href="#single_comments"><?php comments_number( '', '1', '%' ); ?></a></div>
<div id="single_sidebar_comments_text"><a href="#single_comments"><?php comments_number( '', 'Kommentar', 'Kommentare' ); ?></a></div>
</div>
<div class="content_teaser_260">
<?php $content = get_the_content();
$content = strip_tags($content);
echo substr($content, 0, 166);
?>…</div>
<?php $count15++; } ?>
<?php endforeach; ?>
</div>
</div>
<div id="content_nav">
<?php posts_nav_link(' ', ' <<< Neuere Artikel ', ' Ältere Artikel >>> '); ?></div>
</div><!-- #content -->
<div id="skyscraper">
<div id="left"></div>
<div id="left_2"></div>
</div>
<?php get_footer(); ?>