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

    Bug Notification:

    When I add a “Blog Posts” element to a page, set the “Offset Number” to 1 or more, and turn on pagination, the pagination does not work on the front-end page. It will show other numbered pages at the bottom of the element, but each page just duplicates Page 1.

    Not running any third-party plugins. WP and theme versions are all up to date.

    #398522

    Hey BMart!

    Yes that’s expected behaviour. WordPress queries and pagination does not work well with offsets.

    I found this which explains it a bit, http://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination, though it looks like it may be pretty complex to get it added to our framework. We’ll see if we can get something worked out in the future.

    Cheers!
    Elliott

    #398534

    Thanks for the reply. So, essentially, Offset Number can’t be used with pagination because of foundational code? Would a “Load More” function resolve this? Just thinking out loud. For an end user, it seems silly to have a feature that can’t be used in conjunction with something as common as pagination.

    Thanks for your time!

    • This reply was modified 9 years, 9 months ago by BMart.
    #398708

    Hey!

    It seems so unfortunately, not even WordPress is perfect :)

    Try a Load More function if you like, please keep us posted if you should find a solution to this.

    Regards,
    Rikard

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