Skip to content

Instantly share code, notes, and snippets.

@bdeleasa
Created April 29, 2022 17:42
Show Gist options
  • Save bdeleasa/eb50ee408ef90c86c14fb186eb4f2bcd to your computer and use it in GitHub Desktop.
Save bdeleasa/eb50ee408ef90c86c14fb186eb4f2bcd to your computer and use it in GitHub Desktop.
A simple filter to fix any and all pagination using paginate_links so /page/1/ is stripped from the first item URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment