[Resolved] A view in a view loop reacts very weird when infinite scroll is applied
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have a loop that contains artists, in the loop there are 2 views that load up content related to the artist.
When i turn on infinite scroll the view acts very weird and the two views inside the loop show the content and "
THIS IS THE PREVIEW OF THE ... VIEW"
i have turned off the the infinite scroll now because the website is live.
During troubleshooting on your website's clone, I was able to fix the issue with the infinite scrolling, by following these steps:
1). To make the output of the child/nested views minimal, you can:
1-a). enable the checkbox for the option "Disable the wrapping DIV around the View".
( it is right above the "Output Editor" section - example screenshot hidden link )
and
1-b). from the "Output Editor" section of these child/nested views, remove the shortcode:
[wpv-filter-meta-html]
Note: these two steps will need to be performed for the following 3 child/nested views:
- 22 - Date in artist loop DAY (left)
- 22 - Event name in artist loop (left)
- 22 - Date in artist loop date (right)
2). After that, you can enable the pagination with infinite scrolling in the parent "22 - All artists loop" view and it will work, correctly.
Note: Please make sure to clear all involved caches, after making these changes.