Forums

[resolved] query_posts() a few posts - How? (3 posts)

  1. IckataNET
    Member
    Posted 3 years ago #

    Hi all,

    Can I query multiple posts knowing their ID's? Something like

    query_posts('p=10,11,12,15');

    Actually this one os not working, is there a solution?

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Check out the post__in parameter in query_posts.

  3. IckataNET
    Member
    Posted 3 years ago #

    Thanks, I found it but after posting this topic.

    Anyways, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic