Can you post the Loops here: http://paste.uni.cc
Sounds like you are overriding the main query, and the prev/next links are being built off something wrong.
You could use more customized query code that doesn’t conflict with the primary query (if that’s what is happening), or cache the ‘main output’ first to a buffer, then cache the output of the prev/next nav stuff to another buffer, then run your secondary loop, echo the main output buffer, echo the nav buffer…
-d
This is my first custom Query:
<?php $my_query = new WP_Query(‘category_name=news-of-the-week&showposts=1’); ?>
<?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); ?>
Second Query (here i should have nav links)
<!– Start the Loop. –>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
It Helped me:
Just a small fix for your method…
Running the new query reset’s the page count of the index, so the WP paging mechanism is messed up.
An easy fix is to add:
query_posts(’orderby=date’);
after running ‘The Sticky Loop’. This will reset the post variables, and paging will work again =)