Skip to content

v1.6.2 - Hotfix: Improved CPT Archive Page Detection

Choose a tag to compare

@markfenske84 markfenske84 released this 07 Jan 02:22
· 1 commit to main since this release

What's New in 1.6.2

Hotfix Release

Improves current page detection reliability for custom post type archives.

Changes

  • Prioritized URL parsing (/page/X/) as the primary method for detecting current page - most reliable for CPT archives
  • Moved WordPress query vars (paged, page) to second priority
  • Moved Jupiter's data attributes to fallback methods

Why This Matters

CPT archives sometimes had issues where the current page wasn't being detected correctly, causing pagination to highlight the wrong page. URL parsing is now the first check, which resolves these edge cases.