Skip Navigation

[Resolved] Split: Count the number of search results returned – pagination showing wrong numbers

This thread is resolved. Here is a description of the problem and solution.

Problem:
Pagination not updated after search

Solution:
User added pagination shortcode at wrong place.

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

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views-pagination/
=> https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/

This support ticket is created 6 years, 5 months ago. 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)

This topic contains 4 replies, has 2 voices.

Last updated by larryB-3 6 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#915243

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.

#915245

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - could you please share problem URL as well as edit view screenshot of your view so that I can check where you added the pagination controls.

#915263
Screen Shot 2018-06-19 at 8.58.56 AM.jpg
Screen Shot 2018-06-19 at 9.34.11 AM.jpg
Screen Shot 2018-06-19 at 9.34.21 AM.jpg
Screen Shot 2018-06-19 at 9.34.43 AM.jpg
Screen Shot 2018-06-19 at 9.34.53 AM.jpg
Screen Shot 2018-06-19 at 9.34.59 AM.jpg

This page requires permissions to view. Here's some screen shots.

#915276

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok - could you please move the pagination shortcode you added to your view's loop output editor just after the <!-- wpv-loop-end --> and try to resolve your issue.

#915347

Perfect! That worked! Thanks so much!!