The loop below works fine, apart from the fact that the pagination will always stop on page 6. No matter what arguments i specify, it will never show more than 6 pages.
Does anyone know why?
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$idxargs = array(
'posts_per_page' => '1',
'paged' => $paged,
);
$idxloop = new WP_Query( $idxargs );
?>
<?php if ($idxloop->have_posts()) : while ( $idxloop->have_posts() ) : $idxloop->the_post(); ?>
<?php the_title(); ?>
<?php endwhile; ?>
<?php next_posts_link( __( 'Next') ); ?>
<?php previous_posts_link( __( 'Prev' ) ); ?>
<?php endif; ?>
<?php wp_reset_query(); ?>