So on the first page of the project of which I’m working on I need to display a total of three posts from my custom post type ‘project’.
This post type also have some sticky posts which I wish to display first. And then the regular ones after. But it is important that the number of posts are three regardless of sticky amount.
I’ve found a bunch of examples, but I can’t get it right. Is there for example a way to query sticky posts first and limit those to three, and have a second query that limits the post number to three minus amount of sticky posts?
Easy way is to do in two queries, try (presence of ‘ignore_sticky_posts’ on both args. is not a mistake, it is just about the order), was tested: