I am trying to:
Create an archive layout that has a view where the next page gets loaded via AJAX when the user clicked on a "Show More" button. You can see this view currently working on hidden link. However that is a Page built with Elementor and I'm trying to use the WP Archive loop because I believe that's the correct way to do it. The conflicted page can be seen here hidden link. Another thing to notice is the "Filter by:" works but the "text search" doesn't.
Link to a page where the issue can be seen:
Issue page >> hidden link
Alternative working solution >> hidden link
I expected to see:
The "Archive" page working as the "Updates" page is.
Instead, I got:
"No items found" when I clicked on "Show more"
The text search is not working because the text search control has been inserted but the corresponding Query Filter, the part that actually does the work of filtering the results, is missing, presumably accidentally deleted. You can add it back using the Text search button (see screenshot).
I suspect the problem with pagination is because you are using a View and not an archive cell for the archive page.
Your "Layout for Updates Archives" is assigned to the Blog page, i.e. the archive for standard posts, which—per your reading settings—is set to the page "Archive".
When you visit that URL WordPress generates the post archive—but you don't use it in your Layout, you essentially duplicate the query with your View cell. The intended use is that you use an archive cell for the main query on an archive page, and you can include custom search filters much like you can with your View. So I would suggest you replace your View cell with an archive cell—you will find it looks very familiar, and you can copy and paste the contents of the template for the output, for example.
Try that and then let me know if you still have problems with the pagination, and if so I'll look into it further.
I was able to solve the problem with your clarifications. For now on I'll make sure I work with archive views while I'm editing archive pages.
I was still having issues with the "Show more" option on the archive page, but it turns out that I need to disable the option "Pre-load the next and previous pages - avoids loading delays when users move between pages" from the Pagination Advanced Options.