Lösung gefunden!
falls es jemanden interessiert. Es funktioniert nun, es muss in meinem eingebundenen Template news.php nach dem Ende der Schleife ein
eingefügt werden. Damit wird wordpress resettet und er findet die gefragte Seite wieder.
vielen Dank nochmal für die Hilfe.
PS: wie setze ich den thread auf gelöst?
cyrano
Insgesamt sieht mein includiertes Template nunso aus:
PHP
<?php if (have_posts()) : ?>
<?php query_posts('cat='); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" >
<div class="post-meta col span-2">
<ul class="nav">
<li><?php the_time('F j, Y'); ?></li>
<li>In <?php the_category(', '); ?></li>
<li><?php comments_number('No comments yet','One comment','% comments'); ?></li>
<?php edit_post_link('Edit this post', '<li>', '</li>'); ?>
</ul>
</div>
<div class="post-content span-8 nudge-2">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<?php the_content('Continue reading...'); ?>
</div>
</div>
<?php endwhile; ?>
<ul class="navigation">
<li class="left"><?php next_posts_link('← Older Entries') ?></li>
<li class="right"><?php previous_posts_link('Newer Entries →') ?></li>
</ul>
<?php else : ?>
<h3>Not Found</h3>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif;
wp_reset_query();
?>
Alles anzeigen
in der sidebar folgendes (seiten-id entsprechend anpassen):