Skip Navigation

[Gelöst] Count the number of search results returned

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

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 vor 6 Jahren, 5 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von larryB-3 vor 6 Jahren, 5 Monaten.

Assistiert von: Minesh.

Author
Artikel
#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

Sprachen: Englisch (English )

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

Neue Threads, die von Minesh erstellt wurden und mit diesem verbunden sind, sind unten aufgeführt:

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

#915244

Minesh
Supporter

Sprachen: Englisch (English )

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