query posts with selected post ids first
Is there a way I can get most recent posts with a couple of posts I specify by post ID listed first?
According the docs, the order
and orderby
parameters may be passed as an array, so in theory I'm wondering if this could be possible.
In MySQL query terms, it would essentially produce a result like
SELECT * FROM wp_posts ORDER BY ID=12345 desc, ID=12543 desc, post_date desc
where it returns post 12345, then 12543, then the rest ordered newest first.