My problem is a bit comblicated. I'm trying to get list of all posts but with one leading category. All posts from category X and then rest.
I've failed with creating a right get_post query and decide to make two wpdb queries. First to get all posts from category X and second to get all other posts and merge both arrays.
And here is my question:
I'm showing 9 posts per page and now I have a problem. I can't use paged var because I'm using two queries. How can I make pagenavi to get 9 pages from whole array?