Skip Navigation

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

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 6 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: ,

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Ido Angel hace 6 años.

Asistido por: Minesh.

Autor
Mensajes
#1152642

hey,
take a look here:

enlace oculto

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

Idiomas: Inglés (English )

Zona horaria: 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

Idiomas: Inglés (English )

Zona horaria: 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!