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?
- The topic ‘Use query_posts with multiple post_ids?’ is closed to new replies.