Skip Navigation

[Closed] Pagination on views not working

This support ticket is created 3 years, 2 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 16 replies, has 2 voices.

Last updated by Minesh 3 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2157351
pagination.jpg

We created a view for a custom post type, we added the pagination but instead of showing just the first 5 or 6 pages then the ... and the previous/next buttons we see all pages as you see in the following screenshot.
What could be the problem?

#2157903

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me what pagination shortcode you are using currently?

#2158027

We are using the pagination provided by the view itself

#2158047

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'm not yet sure how you build your view. Did you build your view using Block mode or legacy mode?

if its legacy mode - what if you try to use the following pagination shortcode:

[wpv-pager-nav-links output="bootstrap" step="5" reach="5"]
#2158111

It is built with view blocks

#2158135

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share admin access details I would like to review your view's pagination settings.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2161753

unfortunately I cannot send login data.

#2161941

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share a screenshot how you configured your view's pagination?

#2161961
pagination.jpg

Sure, here it is

#2161971

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please add number 5 to input box "Pages to skip" and also 5 to "Number of preceding and following pages" boxes and save it and then check.

#2161991

Doesn't work. I still see all the page couter

#2161993
pagination2.jpg

I see the following result

#2162015

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

So that is how it works, you can add the number to skip number of pages you wanted to. Currently we added 5 but you can add 10.

#2162019

It seems our thread now misses some latest messages, can you please check? thanks

#2162021

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I do not see any message is missed here.

The topic ‘[Closed] Pagination on views not working’ is closed to new replies.