I am trying to:
Add an AJAX paginator to a taxonomy view that is being called from a WordPress taxonomy archive. I've created the view with a filter to "Select taxonomy terms whose parent is the current taxonomy archive." It works fine as long as I set the pagination to "Pagination enabled with manual transition and page reload". However, if I set it to "Pagination enabled with manual transition and AJAX" things seem to get wonky.
Link to a page where the issue can be seen: hidden link
I expected to see:
That the pagination worked properly using AJAX. 🙂
Instead, I got:
Everything appears fine when the page first loads. The loop is displaying using a two-column bootstrap grid. I have it set to display only two items per page. There are currently a total of three taxonomy terms that should be displayed by this view, so it should show the paginator with two pages. It does this correctly when the page loads. However, after clicking on page 2, the paginator re-displays with six pages, and begins displaying all taxonomy terms. It seems as though the filter stops functioning after changing pages.
I just noticed an additional oddity that I think may help narrow down what is happening. I noticed that the title above the brand images in my taxonomy view changes after clicking on the paginator. In the first screenshot, you'll notice that it says "Frito-Lay Brands". In the second one, it just says "Brands". That title is generated using a [wpv-archive-archive info="name"] to generate the brand name in front of the word "Brands". I'm guessing that this means that after clicking the paginator, the view is "forgetting" that it's on a taxonomy archive, and therefore no longer knows that it needs to filter by the taxonomy term.