Skip Navigation

[Resolved] Ajax Pagination Controls not working as expected

This support ticket is created 5 years, 4 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.

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.

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 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by michaelA-13 5 years, 4 months ago.

Assisted by: Waqar.

Author
Posts
#1291599

The Ajax pagination controls are not working as I would expect them to. i.e. as the non Ajax ones.

E.g. can't go to first page, current page is not highlighted, Previous not showing.

Please see video. hidden link

Link to a page where the issue can be seen:

hidden link

#1291607
#1291799

Hi Michael,

Thank you for waiting, while I performed some tests.

During troubleshooting, I noticed that in your view ( "Knowledge Points" ), the pagination control shortcode ( [wpv-pager-archive-nav-links] ), is placed outside the [wpv-layout-start]...[wpv-layout-end] shortcode block in the "Loop Editor" section.
( screenshot: hidden link )

To make it work with AJAX, please move it after the [wpv-layout-start] shortcode and it will properly update.

Here is a guide with more details on using pagination in views:
https://toolset.com/documentation/user-guides/views-pagination/

I hope this helps and please let me know how it goes.

regards,
Waqar

#1291807

My issue is resolved now. Thank you!