[Résolu] wpvrelated with repeater group give first 10 only i set 12
This support ticket is created Il y a 5 années et 3 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.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi Vimal
I set up a test site locally to try to reproduce the problem, but on my site it works as expected, there is no limit of ten enforced.
(By the way, your View "Tab title View" and presumably your content View sort by toolset_post_sortorder as a string, but it should sort as a number.)
On your site I turned on debugging (at Toolset > Settings > Front-end content) where I can see that the View query arguments all look correct, but the generated SQL query adds a hard limit of 10 (screenshot).
That leads me to suspect that there is something else interfering here.
To identify any possible conflicts, could you please disable all non-Toolset plugins and switch theme to twentynineteen then try again. If you added any custom code snippets, also disable those.
If the issue disappears then it should be possible to determine the source of any conflict by a process of elimination.
Let me know how that goes so I can see how to proceed.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
I took a copy of your site to install locally for testing, and noticed the problem.
It looks like your Views are not using pagination because that section is hidden, but if you go to the Screen Options tab at the very top of the page and expose the pagination sections you will see the Views *do* have pagination set. Turning off the pagination shows all 12 results.
I deactivate pagination from both views still not getting all 12 results can you please check my live site and uncheck the option and check, please do related changes in live site and check given URL still not getting all results.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
On my local site I had disabled non-essential plugins and switched theme.
Trying the same on your live site (after disabling pagination, which was still enabled on both Views) I see that the problem occurs because of your theme, specifically your custom child theme.
If you switch theme to the parent Genesis theme or to a theme such as twentynineteen then the issue does not occur, so you will need to review you child theme to find where it limits the query results to ten posts at a time.