I have a view displaying parents ans their children. Over 1000 children and 400 parents.
Because there is so many entries, it's quite long before the result appears.
So I decided to split the result with pagination.
The error is the following:
• When the view is setup to display 10 items/page, it displays only 2 results.
• When the view is setup to display 50 items/page, it displays only 6 results.
I tried many options (Pagination enabled with manual transition and page reload, Pagination enabled with manual transition and AJAX, Pagination enabled with automatic AJAX transition) and their options with no more luck.
Hello. Thank you for contacting the Toolset support.
Well - the pagination will work for the post type you set your view to query.
Can you please sharre admin acess details and tell me what view you are using to display your parent/child posts.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
In order to minimize the cause of the isseue and to ensure there is no conflict with the theme or plugins you use.
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference?
- Do you see it working with the default 2021 theme?
Can I have a staging site that should be 1:1 copy of your current production/live site?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Thank you for sharing that and when I checked big deeper.
I found that the issue is not pagination here but the conditional statement you added to your view's loop. With the following view, I see you added the following conditional statement within view's Loop Editor section.
=> hidden link
So actually, when above codition does not match it hides the post from your view's loop. So for instance, you have set pagination to display 10 items per page but only 2 records statisies the above condition so it will display only two records and hide other eight records.
I'm not sure that what exactly you are checking with above condtionlal statement and where you added that custom shotcode.