Skip Navigation

[Résolu] Pagination is blank no matter where pagination is applied.

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: No matter where I add the pagination shortcodes I cannot see the pagination links.

Solution: Uncheck "Disable the wrapping DIV around the View" in the View editor.

This support ticket is created Il y a 4 années et 1 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 4 réponses, has 2 voix.

Last updated by Chris Il y a 4 années et 1 mois.

Assisted by: Christian Cox.

Auteur
Publications
#1536265

Tell us what you are trying to do?
Trying to build a Portfolio View and everything else works but I am getting a blank pagination on the page for some reason.

Is there any documentation that you are following?
Just what is available in the help blocks while building a view. It was a bit confusing so I tried putting pagination code in the Search and Pagination spot, in the Loop Editor, and the Output editor. It did not work anywhere. I currently have it in all 3.

Is there a similar example that we can see?
Anywhere that pagination works.

What is the link to your site?
hidden link

As you can see where it says "Go to Page", I have pasted the pagination code (as follows) all over trying to get it to work within the loop outside, etc. And it does not function. The

    returns blank, no Prev/Next is created, the dropdown isn't created with a page selector etc.. Just does not work.

    ***
    <ul class="pagination">
    <li class="page-item">[wpv-pager-prev-page][wpml-string context="wpv-views"]Previous[/wpml-string][/wpv-pager-prev-page]
    <li class="page-item">[wpv-pager-next-page][wpml-string context="wpv-views"]Next[/wpml-string][/wpv-pager-next-page]

[wpv-pager-nav-links output="bootstrap"]<div class="form-inline">
<div class="form-group">
<label for="wpv-pager-nav-dropdown">[wpml-string context="wpv-views"]Go to page[/wpml-string]</label>
[wpv-pager-nav-dropdown output="bootstrap"]
</div>
</div>
[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]
***

There are more than 10 items in the post type for sure and it is set to show 10 per page. However, its just blank.

#1536273

Hello, can you take screenshots of the entire View editor in wp-admin so I can see the configurations? I'll be glad to take a closer look and give you some feedback.

#1536333
screencapture-starcresc-dev-wordpress-wp-admin-admin-php-2020-03-02-15_12_47.png

Thank you, please find attached! I am not sure why it is coming out blank. I know placing it in a BILLION spots probably didn't help but it sure made me feel better.

#1536345

Okay try unchecking the checkbox for "disable the wrapping Div around the View". That should be unchecked when you want to show pagination or front-end filtering.

#1536485

BOOM! That did it. Thank you so much. And I didn't even consciously see that box or purposefully check it as far as I know which is a bit irritating. Thank you for the help, Christian! Enjoy your evening.

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