Skip Navigation

[Resolved] Using standard pagination with Views?

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.

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 2 years, 1 month ago.

Assigned support staff: Luo Yang.

Author
Posts
#1372743

Tell us what you are trying to do?
I have a requirement that I need to deliver this site as a static site. This works in all aspects except that Views pagination always uses a query string and so requires a back end whereas WP would append a page/2/ for the second page which would work fine for a static site.
(1) Is there a way to use the WP style?
(2) Is there another way to achieve a non query string way like a hook so I can parse out a page/2/ type scenario. (E.g. /wpv_paged/2)

Is there any documentation that you are following?
Couldn't find anything.

What is the link to your site?
This page has a Next -> at the bottom.
WP version -> hidden link
Static version -> hidden link

#1372895

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

There are not both built-in features as you mentioned above, for normal post view, to use the pagination, the URL parameter "wpv_paged" is required.

You can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

And in Views WordPress archive, you can setup WP style pagination with shortcodes, for example: [wpv-pager-archive-nav-links]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-pager-archive-nav-links