Skip to content

v1.6.5 - Hotfix: Fix Current Page Indicator for CPT Archives

Latest

Choose a tag to compare

@markfenske84 markfenske84 released this 07 Jan 03:01

What's New in 1.6.5

Hotfix Release

Fixes the current page indicator not highlighting correctly on custom post type archives.

Changes

  • Fixed Jupiter always marking page 1 as current - On CPT archives, Jupiter's default behavior marks page 1 as the current page regardless of which page you're actually on
  • Added current page correction logic - Removes the incorrect current-page class and applies it to the actual current page
  • Proper span conversion - Converts the actual current page link to a styled span (matching the expected pagination behavior)

Bug Fixed

When navigating to page 2, 3, etc. on CPT archives (ship, cruise), page 1 was incorrectly highlighted as the current page. Now the correct page number is highlighted.