[Resolved] Query Loops – Exclude Latest Post

Home Forums Support [Resolved] Query Loops – Exclude Latest Post

Home Forums Support Query Loops – Exclude Latest Post

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2326494
    Math

    Hi,

    Is there a way to exclude the latest post only using Query Loops?

    I’m looking to show the latest post as a Hero post on Home Page and have the rest of the posts underneath. I looked at various options that allow for the exclusion of specific posts but didn’t see one for excluding the latest post.

    Thank you.

    #2326551
    Ying
    Staff
    Customer Support

    Hi Math,

    You can use one query loop block to show the latest post, set posts per page to 1.

    Then add another query loop block for the rest of the posts, go to parameter, select offset and set the value to 1, it means it will remove the one latest post from the query loop.

    #2326603
    Math

    Awesome! Thank you.

    #2327453
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.