I seem to be having an issue with integrating a FacetWP load more button on a page using the new GB query loop block. The query loop is set to display 12 posts per page. But when I click the Load More button, it loads the same 12 posts again (for a total of 24 posts displayed, but including duplicates). Any idea how I might be able to resolve this issue?
I have been in some communication with Matt at FacetWP regarding this. He sent me an email including the text in this screenshot:
Is he correct that the page number is being set with the code on that line 395 (see below)?
`$page = empty( $_GET[ $page_key ] ) ? 1 : (int) $_GET[ $page_key ]; // phpcs:ignore -- No data processing happening.`
If so, is he correct in suggesting an ideal of "listening for WP_Query’s “paged” var instead? Are there benefits to how the GB Query Loop is doing page numbers? Any issues with changing to use the “paged” var?