Skip Navigation

[Resolved] Pagination does not work as expected

This thread is resolved. Here is a description of the problem and solution.

Problem: The pagination links are showing inside my results grid.

Solution: Use CSS to clear the floated grid elements.

This support ticket is created 5 years, 4 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 3 replies, has 3 voices.

Last updated by markR-7 5 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1305903

Tell us what you are trying to do?
For this type of page that shows a hotels belonging to a holiday type (in this case beach holidays)
hidden link
There are 16 possible hotels

At the moment there are 9 showing with a further 6 that should be on page 2.
When I add pagination controls in the view, the controls are in weird places ie within the list rather than at the bottom.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
hidden link

Should I be adding the Pagination Controls in the Search and Pagination section or the loop editor or both?

#1305979

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mark,

Would you mind allowing me to have admin access to the page so I can see what is causing this issue ?

Thanks,
Shane

#1307111

Hi, Shane is currently on public holiday so I would like to continue assisting you. You can add pagination in either location or both locations, actually. However in your case, the problem was not where the shortcode was added, it was a CSS / layout issue in the output produced by the Fusion builder that caused the links to appear jumbled up in the results sometimes, even though the markup was below the View. I edited this View and added a wrapper class around the navigation elements, set to style="clear:both;". This should push the links down below the cards all the time. Let me know if it's working as expected.

<div style="clear:both">[wpv-pager-current-page][wpv-pager-prev-page][wpml-string context="wpv-views"]Previous[/wpml-string][/wpv-pager-prev-page][wpv-pager-next-page][wpml-string context="wpv-views"]Next[/wpml-string][/wpv-pager-next-page]</div>
#1307789

My issue is resolved now. Thank you!