Navigation überspringen

[Gelöst] [wpv-pager-current-page] [wpv-pager-total-pages] are empty with 1 page

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren, 3 Monaten. 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)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Ido Angel vor 6 Jahren, 3 Monaten.

Assistiert von: Minesh.

Author
Artikel
#1152642

hey,
take a look here:

versteckter 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

Sprachen: Englisch (English )

Zeitzone: 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

Sprachen: Englisch (English )

Zeitzone: 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!