Skip Navigation

[Resolved] Content disapearing after pagination

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a nested View setup where pagination occurs on the outermost View. When I navigate back and forth through the paginated results and return to the first page, some results are no longer found on my inner Views.

Solution: First Month View - uncheck "Don't include current page in query result"
Last Month View - uncheck "Don't include current page in query result"
Loop item in Home Agenda Events - add cached="off" to both First and Last Month View shortcodes.

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by sebastienV 6 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#563856
Third-View.png
Second-View.png
First-View.png
Before-Pagination.png
After-Pagination.png

Hi,
Difficult to explain but I can give acces to WP-admin if needed.

I've created a kind of mini Calendar for CPT

3 CPT : "Date", "Exposition" and "Mois Lié".
Date CPT and Exposition CPT are related as many-to-many relationship through Mois Lié CPT

3 Views (screenshots):
- A first View that load the IDs of "Date" CPT that have "Mois Lié" CPT children (thanks to a custom shortcode
- A second paginated View that use the previous IDs list (through shortcode attribute "ids") to display those "have children" Date CPT and for each load a third View.
- A third View that display "Mois Lié" CPT filtered by parent View

Everything works but got a strange behaviour.
When loading my home page, the calendar show all the informations (screenshot).
But if I paginate the calendar to see next and previous month, I'm loosing some infos that are replace by the "No item Found" ?! (screenshot)

The thing I don't understand is how I could have the correct result when loading the the page but loosing infos after pagination?!

Website is still hidden behind a "Coming soon" page so only available if I can send connection details.

Thanks!

#563990

Hi, please check now. I made the following changes:
First Month View - uncheck "Don't include current page in query result"
Last Month View - uncheck "Don't include current page in query result"
Loop item in Home Agenda Events - add cached="off" to both First and Last Month View shortcodes.

Can you confirm you're seeing the proper results now?

#564405

Yes, great !!
Should have think about that.

Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.