Skip Navigation

[Resuelto] Count the number of search results returned

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

Problem:
How to display total count of results returned

Solution:
You can use view's shortcode [wpv-found-count] to display the total number of results found by view's query.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/count-the-number-of-search-results-returned/#post-915160

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-found-count

This support ticket is created hace 6 años, 5 meses. 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)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por larryB-3 hace 6 años, 5 meses.

Asistido por: Minesh.

Autor
Mensajes
#915020

Tell us what you are trying to do? I would like to have text display under the Views search filters that show the number of results returned. Example "258 results returned." even though I'm only showing 25 results per page using pagination.

#915160

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - you can use view's shortcode [wpv-found-count] to display the total number of results found by view's query.

For example:

[wpv-found-count] results returned.

More info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-found-count

#915240
Screen Shot 2018-06-19 at 8.58.56 AM.jpg

Thanks, I am now able to show the count, but of course that leads to another question/issue.

When using pagination, after searching it still shows all the pages that are available for results that occurred before searching.

See screen shot.

Los hilos nuevos creados por Minesh y vinculados a este se encuentran a continuación:

https://toolset.com/es/forums/topic/split-count-the-number-of-search-results-returned-pagination-showing-wrong-numbers/

#915244

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

well - you can resolve this ticket as this will help other users searching on the forum and help us to write resolve ticket summaries.

We will continue with your issue with following new ticket:
=> https://toolset.com/forums/topic/split-count-the-number-of-search-results-returned-pagination-showing-wrong-numbers/

#915255

Thanks for the help!