Skip Navigation

[Resolved] Fix the pagination to the bottom of the screen

This support ticket is created 3 years, 1 month 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 kelvinL-2 3 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2254815
IMG_498A42DC8A6F-1.jpeg

Dear Sir/Madam,

I have a View with pagination, how can I fix the pagination to the bottom of the screen, keep the previous and next buttons always at the left and right positions even there is no previous or next post.

#2255139

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details and let me see what we can do here.

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

#2255143

Dear Minesh,

I finally fixed it but I want to have a Home button between the two previous/next buttons? You can visit the link hidden link

#2255145

Minesh
Supporter

Languages: English (English )

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

When you say home button, which button you are mentioned - Can you please share screenshot?

#2255149
IMG_44D54329676A-1.jpeg

Dear Minesh,

I want to add home button at bottom in the center, see screenshot.

Best regards,

Kelvin.

#2255161

Minesh
Supporter

Languages: English (English )

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

But where you want to link that home button?

#2255227

Back to the ebook index page, the current chapter's parent post ebook

#2255279

Minesh
Supporter

Languages: English (English )

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

What you should do is try to add the link like this:

<a href="[wpv-post-url item='[wpv-search-term param='ebook-id']']"> Home </a>

Currently it will display the Home text with hyperlink to the parent post book URL. You should format the link as per your requirement and place it at whatever place as desired.

#2257153
Screenshot 2022-01-03 at 2.12.32 PM.png

Problem fixed

<div id="paginationDIV">
	<div class="pagination">
		<div class="page-item previous-item">[wpv-pager-prev-page][wpml-string context="wpv-views"]<i class="fas fa-caret-square-left"></i>[/wpml-string][/wpv-pager-prev-page]</div>
	  <div class="page-item home-item"><a href="[wpv-post-url item='[wpv-search-term param='ebook-id']']"><i class="fas fa-home"></i></a></div>
	  <div class="page-item next-item">[wpv-pager-next-page][wpml-string context="wpv-views"]<i class="fas fa-caret-square-right"></i>[/wpml-string][/wpv-pager-next-page]</div>
  </div>
</div>

Best regards,

Kelvin.

#2257167

My issue is resolved now. Thank you!