• Resolved Laxmikant Bhumkar

    (@luckybhumkar)


    Pagination, especially only second page loading repeated post from first page.

    • The number of repeated posts is equal to the number given for post to be offset.
    • For example, If I offsetted 3 post. Then the second page reloads last 3 post from first page itself.
    • I have using Post Grid#1 block, offsetted 3 post as first three posts are already published using another block.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hi @luckybhumkar,

    Thank you for using our post blocks plugin. It seems that you are a developer, hope you understand the problem. Please read the offset limitation defined by the WordPress-
    https://developer.www.ads-software.com/reference/classes/wp_query/
    offset (int) – number of posts to displace or pass over. Warning: Setting the offset parameter overrides/ignores the paged parameter and breaks pagination. The ‘offset’ parameter is ignored when ‘posts_per_page’=>-1 (show all posts) is used.
    That’s why we can not use page number 2 or more in offset 1. I hope you understand the situation. We have nothing to do in this situation.
    offset not working with posts_per_page. That’s why repeatable posts showing on the second page.

    Thanks a lot.

    Thread Starter Laxmikant Bhumkar

    (@luckybhumkar)

    It’s all right. Thanks for letting known us the cause. Gratitude for your unmatched plugin for showcasing posts.

    Plugin Author WPXPO

    (@wpxpo)

    You are always welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pagination loading repeated post’ is closed to new replies.