Skip Navigation

[Resolved] Is there a way to show something like "21-40 of 595 results" in search results

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 1 year, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2545217

Tell us what you are trying to do? On the search results, as you page through, in addition to highlight the current page, can I also show "21-40 of 595 results for ..." (if I show 20 results per page, this is on the second page)

Is there any documentation that you are following? Did not find such thing

Is there a similar example that we can see? hidden link

What is the link to your site? hidden link

#2545349

Hello,

You can use shortcode [wpv-found-count] to display the total found posts count, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-found-count

But there isn't built-in feature to display the "21-40 of" of current page result, you might consider to create custom shortcodes for it.
https://developer.wordpress.org/reference/functions/add_shortcode/