WordPress.org

Ready to get started?Download WordPress

Forums

query_posts multiple categories + offset (2 posts)

  1. akis
    Member
    Posted 4 years ago #

    Hello!

    I have the following code:
    <?php query_posts("showposts=10&cat=1,3,5&offset=3"); ?>

    Is it possible to offset posts from category 5 only but keep the rest of the results?

    Thanks.

  2. akis
    Member
    Posted 4 years ago #

    Or, how to exclude the last 3 posts from category 5 without using another query?

Topic Closed

This topic has been closed to new replies.

About this Topic