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:
Leave a Reply
You must be logged in to post a comment.