Skip Navigation

[Resolved] wpvrelated with repeater group give first 10 only i set 12

This support ticket is created 5 years, 3 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by vimalS 5 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1322895

wpvrelated with repeater group give first 10 only i set 12

i have set here tab

hidden link

and give tab id in field and send id using wpvrelatedto but it gives 10 instead of 12 i set.

Thanks

#1322965

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-08-23 at 12.41.26.png

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.

#1323007

Hi Nigel

I check by deactivating the plugin and change theme still same issue occurs also I comment all my custom code still same issue occurs.

Thanks

#1323133

Nigel
Supporter

Languages: English (English ) Spanish (Español )

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

#1324071

Hi Nigel,

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.

Thanks

#1324217

Nigel
Supporter

Languages: English (English ) Spanish (Español )

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

#1324219

My issue is resolved now. Thank you!