Hide page numbers from wordpress pagination

So you want to hide or style the page numbers in wordpress pagination. The numbers have class .page-numbers but so do the previous and next buttons. paginate_links() doesn’t have any properties that will add a class to the numbers. So how do you do it?
Turns out you can use multiple .not() selectors to select them:
display: none;

Trackback this Post | Feed on comments to this Post

Leave a Reply

You must be logged in to post a comment.