How to hide pagination numbers on only selected pages
-
This is a follow-up question to an earlier thread:
https://en.forums.wordpress.com/topic/how-to-hide-pagination-numbers?replies=2#post-2853972
Back in January I inserted some CSS code which enabled me to get rid of rows of page numbers at the bottom of my very long index page. Unfortunately I have just realized I no longer have page numbers on the bottom of category pages. Readers need these to access blog posts not listed on the first page of each category. Is it possible to hide the pagination numbers for specific pages only? The page I want to hide them from is this one:
Note: I have removed the earlier CSS code to reveal the pagination numbers.
The blog I need help with is: (visible only to logged in users)
-
We can use the unique page id CSS class from the opening body html tag on that page to specifically target CSS to that page only like this.
.page-id-9134 .pagination { display: none } -
-
- The topic ‘How to hide pagination numbers on only selected pages’ is closed to new replies.