Hello,
I currently have a navigation setup outside my main loop which simply uses the posts_nav_link() function.
My main loop is controlled by the query_posts function and looks something like this:
$query = array();
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$query['cat'] = get_query_var('cat');
$query['posts_per_page'] = 7;
$query['paged'] = $paged;
query_posts($query);
if(have_posts()) :
while(have_posts()) :
the_post();
The problem is that the navigation doesn't recognize the limit imposed by me in query_posts (7), rather it works with the limit set in the Wordpress Reading settings page, which is 10 by default.
This screws up my navigation, and makes it impossible to use. Maybe I need to overwrite the Reading settings page limit somehow, but haven't been able to find anything.