Skip Navigation

[Resolved] [wpv-pager-current-page] [wpv-pager-total-pages] are empty with 1 page

This thread is resolved. Here is a description of the problem and solution.

Problem:
[wpv-pager-current-page] [wpv-pager-total-pages] are empty with 1 page

Solution:
You should use the attribute force="true" to display the numbers on first page.

For example:

Showing [wpv-pager-current-page force="true"] of [wpv-pager-total-pages force="true"]

Relevant Documentation:

This support ticket is created 6 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
- 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 3 replies, has 2 voices.

Last updated by Ido Angel 5 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#1152642

hey,
take a look here:

hidden link

the first h1 displays the number results (showing fine), but "page X out of X" displays only "page out of page", without a number in it.

this happens only when there is 1 page of results. when there are many pages, the numbers show.

thanks!

#1152920

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Yes - I see the issue and I will report it to our next level support for further debugging.

Please hold on for further updates.

#1154569

Minesh
Supporter

Languages: English (English )

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

Could you please try to follow the guidelines given with the following link and try to resolve your issue:
=> https://toolset.com/errata/wpv-pager-current-page-and-wpv-pager-total-pages-dont-work-when-the-view-has-only-one-page-available/

For example:

Showing [wpv-pager-current-page force="true"] of [wpv-pager-total-pages force="true"]
#1154585

works! thanks a lot!