Problem:
I have a view, and I elect to paginate & randomize found posts matching the filter.
When I go to the second page of results, the see the posts are re-randomized, and some of the posts which showed on the first page initially, now show on the second page.
Solution:
It is expected result, when you use pagination + random order, in each page, Views will query the database again, so you will get another random order again.
It is not recommended to use pagination + random order in same post view, you might consider to disable pagination or change the orderby parameter.
Relevant Documentation:
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 |
|---|---|---|---|---|---|---|
| - | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
| - | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)
Ce sujet contient 2 réponses, a 2 voix.
Dernière mise à jour par Il y a 4 years, 3 months.
Assisté par: Luo Yang.