Skip to content

v1.6.0 - Custom Post Type Archive Support

Choose a tag to compare

@markfenske84 markfenske84 released this 07 Jan 01:46
· 3 commits to main since this release

What's New in 1.6.0

Custom Post Type Archive Pagination Support 馃帀

This release fixes pagination issues on custom post type archives (like ship, cruise, and other CPTs).

Changes

  • Completely rewrote get_pagination_base_url() to properly handle:

    • Custom post type archives (ship, cruise, etc.)
    • Taxonomy archives (categories, tags, custom taxonomies)
    • Author archives
    • Date archives (year, month, day)
    • Search results
    • Home/blog pages
    • Single posts/pages with pagination
  • Implemented full page output buffering to catch all pagination including CPT archives that weren't being processed before

  • Enhanced SEO rel=prev/next links with fallback for CPT archives using wp_count_posts()

  • Added processing flag to prevent double-processing of pagination

Bug Fixes

  • Fixed issue where CPT archives showed # for pagination links
  • Fixed issue where some CPT archives only showed Next/Previous without page numbers