I am trying to:
I have two sites on the same multisite installation. Each one uses a near-identical archive view, differing only in the specific fields that each one is displaying, but with the same html structure and order. On one site, the [wpv-found-count] AJAX-updates when I select a filter; on the other it does not.
Both have the following settings:
- Pagination enabled with manual transition and AJAX
- AJAX results update when visitors change any filter values
- [wpv-found-count] shortcode placed immediately inside [wpv-filter-controls] (inside a nested div).
The only difference I can see is that on the site where the count does not refresh automatically, there is an option that says "Browser History Management: Update the URL of the page when paginating the WordPress Archive" (which is ticked), while on the site where it does refresh automatically this option doesn't exist. This may not be relevant, but I can see no explanation for the discrepancy.
According to some previous support threads:
- The count only updates (without page refresh) when within the [wpv-items-found] shortcode:
https://toolset.com/forums/topic/wpv-found-count-not-updating/
- Although it can be used in the search and pagination section:
https://toolset.com/forums/topic/show-wpv-found-count-in-the-search-button/
My question is twofold:
1. Why does the count refresh work on one of the sites, despite the shortcode not being within the wpv-items-found section?
2. The count does refresh when placed within the wpv-items-found section. but since the page layout lends itself to the count being placed above the filters, rather than above the results, and given that it does work on the other site, I don't want to move it, so is there some way to get the count updating without refresh in that location?
Link to a page where the issue can be seen:
- Not available (organizational login required)
- I can provide any necessary details as requested
I expected to see:
I want to see the count updating on both sites (but given the above, I guess I expect to see the count not updating on site 2).
Instead, I got:
The count does not update without page refresh.
** Note, the debug information below is for site 1, where the refresh is not working. I tried appending the debug info for site 2 where it is anomalously working, but the form doesn't accept it. Thanks.