Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Query Loop : Not apply limit

  • Hi,

    I need your help with a behavior that I can’t explain.

    I’m trying to redo my home page and so for that I use the query loop to retrieve only the last article which is of type “post”.

    For this I configured my query with 1 publication per page and an offset of 0, which corresponds to the limit 0.1

    To put it simply, it does not only work in the case where I select the post type “post”, if I select another CPT, the query parameters are applied.

    Would you have an idea?

  • Hi there,

    When you say “the last post,” do you mean displaying the oldest post?

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