How can I highlight the active page using paginate_links()?
By default paginate_links() gives you several ways to target the current page: It will replace the a element with a span element, because there’s no point in a page linking to itself It adds the class current to the span It adds the aria-current attribute to the span Any one of these can be used … Read more