removing pagination from archive.php


I am facing problem with pagination, the problem is that I’ve used nextpage quick tag for pagination on my post.

Pagination is showing only on those post in which I’ve used nextpage tag for pagination on homepage just below the post (I am not talking entire page pagination) but I managed to fix it.

The same problem is persists when I click on my category page.

I just want to know how I can remove pagination from archive because pagination is appearing just below the post.

I am also uploading a image so you can better understand
Please help !!!

Hi @bunty,

I hope you are well today and thank you for your question.

The post pagination displayed by nextpage tag is not showing on my test site on post listings or category archive pages.

Could you please share me the archive page URL from your site so that where it’s displaying so that i can help you to remove it?

Kind Regards,

Hi Movin,

Here is url and it’s showing page number.


Hi Buntu,

You can hide those pagination on archive page by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS

body.archive article .page-links {
  display: none;

Best Regards,

Thanks for solution Movin and its works

You are most welcome here :slight_smile: