Support » Everything else WordPress » Use query_posts with multiple post_ids?

  • I have scoured everywhere but cannot find the answer to a simple question.
    I would like to pass multiple post_ids to query_posts() and have tried…
    query_posts(‘post_id=1,2,3,4’) but it doesnt work. I know you can pass multiples to get_post() but this doesnt support pagination. Please can you tell me if query_posts() supports multiple ids?

    Many Thx

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use query_posts with multiple post_ids?’ is closed to new replies.