Thank you for some clues.
I made something like this:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(array(
'cat' => '9',
'posts_per_page' => '1',
'paged'=>$paged,
));
Pagination seems to work, but I have on every category posts from only the one category: ID 9.
If I use:
if (is_category(array('9')) ) {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(array(
'cat' => '9',
'posts_per_page' => '1',
'paged'=>$paged,
));
}
then every category displays adequate posts. When we go to category ID 9, then we have of course right pagination at bottom, 1 post per page, like settings above.. But when I click for example “next page” or “page 2” or “page 3”
then I have still no posts – Nothing Found.
Any idea what is wrong?