Skip Navigation

[Resolved] Pagination not showing

This support ticket is created 5 years 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
- 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by tisonK 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1426349

Team,
First - thank you for an amazing plugin here and hope you are having a great holiday season.

I'm having an issue w/ pagination Specifically - I am trying to show the number of results, show pagination links,etc. I can't seem to get any of the pagination functionality to show?

Link to a page where the issue can be seen:
hidden link
(you will need a login to view this page, let me know if you want one)

I expected to see:
Pagination functionality (# of results shown, total results, page number, ability to paginate)

Instead, I got:
Nothing showing.

FYI - I'm using Toolset Views (not blocks).

I have set pagination settings on top:
hidden link

I've added the pagination functionality to both the Search & Pagination section:
hidden link

And the loop:
hidden link

And I don't see any pagination functionality on top or bottom of the page, here is what I'm seeing:
hidden link

Note that I'm working on a CPT archive page, and I've tried adding the view to a regular page as well, no difference there.

What am I doing wrong here?
Thank you for any help,
T

#1427269
pagination1.JPG

Dear T,

Your screenshots do not show all view's setting.

Is it a normal post view or Views WordPress archive?

1) If it is a normal post view, please edit your post view:
hidden link

in section "Limit and Offset"(if you don't see this section, please click link "Screen options", enable option "Limit and Offset")
change the option to: Display "No limit" items

And test again.

See screenshot: pagination1.JPG

2) If it is Views WordPress archive, please follow our document to setup the pagination:
https://toolset.com/documentation/user-guides/custom-archives/custom-pagination-for-wordpress-archives/

#1427903

Dear Yang,
(apologies if I got your incorrect name).

So the pagination is showing now that I used your method - but (and I may be missing something obvious), but how do you display the total # of results? The pagination functionality is showing the number of pages, but I don't see an option to show the number of results?

My second question is on sorting:

I must be doing something wrong there as well. As far as I can tell - it's not sorting by the custom fields in the database. If I attempt to sort by a custom field as a string, it shows this:

Sorting by the City column:
hidden link

Sorting by the zip code field (asc):
hidden link

And sort by zip desc:
hidden link

The zip is setup as a numeric search.

What am I doing wrong here?

My last question:
Does the sort functionality sort all the results in the database? Or does it just sort what's on the screen?

Thank you for your help! It is huge,
T

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/does-the-sort-functionality-sort-all-the-results-in-the-database/

#1430785

For the question:
but I don't see an option to show the number of results?
You can try shortcode [wpv-found-count]:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-found-count
Displays the total number of posts, users or taxonomies that have been found by the Views query.

According to our support policy, we prefer one ticket one question:
https://toolset.com/toolset-support-policy/

For the other new questions, please check new thread here:
https://toolset.com/forums/topic/does-the-sort-functionality-sort-all-the-results-in-the-database/

#1436369

My issue is resolved now. Thank you!