Skip Navigation

[Resolved] Pagination in Views

This support ticket is created 2 years, 11 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by igorL-3 2 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#2051325

Tell us what you are trying to do? I have created the following view
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-view name="show-titles"]
[wpv-post-title]
[types field='year' format='FIELD_VALUE'][/types]
</br></br>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No Data[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

Then call it from a page. I get all the entries working but I can't get any more entries beyond one page. There there are 16k entries all together. I have tried the follwing code in the pagination section:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
[/wpv-filter-controls]
[wpv-pager-current-page][wpv-pager-total-pages][wpv-pager-nav-links output="bootstrap" first_last_links="true" previous_next_links="true"]
[wpv-filter-end]

but that makes no difference and I have tried all the different variation in the
How do you want to update the results? section.

I would be greatful for guidence.

Thank you in advance

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? This is a local site not visable from outside

#2052031

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot why the pagination is not working correctly, I'll need to see exactly how the view and the relevant posts are set up.

Can you please upload the website to an online server and share its admin area access details?

If that is not possible, you can share a clone/snapshot of this local website, so that I can investigate this on my test server.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

Note: I've set your next reply as private.

regards,
Waqar

#2052989

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for sharing the admin access.

During troubleshooting, I noticed that in the view "test", the option 'Disable the wrapping DIV around the View' is checked.

When this option is checked, some of the dynamic features like search and pagination can't be used.
( screenshot: hidden link )

The pagination will start showing once, you'll un-check this option.

#2053181

Thank you. So trivial and yet so hard for me to find. thank you for you help.
My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.