Skip Navigation

[Resolved] View pagination not working as expected

This support ticket is created 2 years, 6 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by patrickM-3 2 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2360179

Tell us what you are trying to do? Put filter section and view in parts of a bootstrap grid.

Is there any documentation that you are following? Views guides & bootstrap 4 reference

Is there a similar example that we can see? N/A

What is the link to your site? hidden link

#2360411

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean that you want to display the search form on left column and search result on right column? If yes:
- if you are using Toolset Bocks then here is the Doc that shows information about how you can display the search form and result side by side:
=> https://toolset.com/course-lesson/creating-a-custom-search/#display-the-search-box-and-search-results-side-by-side

If you are using Toolset Views (classic views) then you can adjust the code within the Toolset View editor.

#2360751

I’m using Views. The only thing not working correctly is the pagination doesn’t update correctly. It shows all page buttons even when there are only a few matches.

#2360807

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I will require to check how you added the pagination. Could you please share admin access details so I can check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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.

#2360853

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now: hidden link

With the following view:
hidden link

I've adjusted the code in "Output Editor" as given under:

<div class="col-md-3 col-sm-12">
  [wpv-filter-meta-html]
 <div class="col-md-9 col-sm-12">
    [wpv-layout-meta-html]

And moved the pagination shortcode to "Loop Editor" section:

<div class="nav_wrap">
				[wpv-pagination][wpv-pager-nav-links output="bootstrap"][/wpv-pagination]
          </div>

I can see now pagination is updated when we filter the view.

#2360861

Excellent! I was looking for that particular set of shortcodes, but could not find it in the documentation. Do you know where I can find this info?

Thanks again for your help!

#2360867

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is the Doc where you can find all related view's shortcodes:
=> https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154437

#2360881

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You're welcome to mark resolve this ticket 🙂

#2360887

It's also well documented right in the views editor. It's silly of me, but I've just never used the output editor before. Really appreciate the help.

#2360889

My issue is resolved now. Thank you!