Skip Navigation

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

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 6 années et 5 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par larryB-3 Il y a 6 années et 5 mois.

Assisté par: Minesh.

Auteur
Publications
#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

Les langues: Anglais (English )

Fuseau horaire: 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

Les langues: Anglais (English )

Fuseau horaire: 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!!