Sauter la navigation

[Fermé] Infinite Scroll

This support ticket is created Il y a 2 années et 9 mois. 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.

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 2 années et 9 mois.

Assisté par: Christopher Amirian.

Auteur
Publications
#2422899

When a user clicks to a product that is in the second/third page of infinite scroll and open the single page, when hit back from the browser to go again to the archive it goes to the top instead of loading the previous loaded pages of infinite scroll.

Here is a page:
lien caché

Scroll to bottom to load more products and then open a random one. When you hit back the archive page will not open to the spot that was before.

#2423927

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

That is the expected behavior. The infinite scroll uses Ajax to load the additional content and appends the content to the current HTML.

Now by going to another page (Single page), you do not have any data saved, so when you hit the back browser button it will again load the original HTML.

The customer needs to go to the end to trigger the Javascript code again to load the Ajax data.

Thanks.

Le sujet ‘[Fermé] Infinite Scroll’ est fermé à de nouvelles réponses.