How can I highlight the active page using paginate_links()?

By default paginate_links() gives you several ways to target the current page:

  1. It will replace the a element with a span element, because there’s no point in a page linking to itself
  2. It adds the class current to the span
  3. It adds the aria-current attribute to the span

Any one of these can be used to apply whatever styling you want

tech