Skip Navigation

[Resolved] Need help with pagination in views

This support ticket is created 5 years, 6 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 5 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#1265161
pagination.PNG
google_pag.PNG

Hi,

I have created a view with pagination. I need to create Google style pagination as I have 13,00 pages (10 results per page). As per screenshot, all the pages are shown on the pagination block. Please help.

#1265261

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

When you insert the pagination controls you have choices about what form those controls should take.

See the documentation here: https://toolset.com/documentation/user-guides/views-pagination/#inserting-pagination-controls

#1265285

Hi,

I need a way to show first 10 pages and then if I click say 10th page or next then 2-11 should be shown. What options should I choose for this?

#1265323

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-06-11 at 13.32.42.png
Screenshot 2019-06-11 at 13.33.30.png

You should experiment with inserting the pagination controls until you arrive at a format you are happy with.

In the screenshots you can see me inserting controls that include first and last page links, prev and next page links, and I specify 5 for the reach, namely how many individual page links to show either side of the current page, and you can see the results in the second screenshot.

I think that's close to what you are aiming for.