Alright, is not the number of posts but the way they are ordered.
I am using query_posts function to display content from only one category on the main page.
It works like it should but it only displays the content from that category; the page still thinks that the content belongs to one of the excluded categories.
To simplify this I will give an example with 2 categories and 1 post-per-page settings. Articles (sorted by date, like they appear in Dashboard):
article_04 cat_id_2
article_03 cat_id_3
article_02 cat_id_2
article_01 cat_id_2
When viewing main page, article_04 is displayed, page believes there are posts belonging to category 2 on this page.
When viewing /page/2/, article_02 is displayed but category 3 is retrieved.
When viewing /page/3/ article_01 is displayed and category 2 is retrieved.
I tried 2 ways of implementing query_posts; they both work on displaying the category I wish but not telling the page which category the articles displayed are in:
<?php if ( is_home() ) {
query_posts($query_string . '&cat=2');
}
?>
alternatively
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('cat=2&posts_per_page='.get_option('posts_per_page').'&paged=' . $paged);
?>