[wp-trac] [WordPress Trac] #15551: Custom post type pagination redirect
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 24 20:37:19 UTC 2012
#15551: Custom post type pagination redirect
-------------------------------+-----------------------
Reporter: cbsad | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+-----------------------
Changes (by ericlewis):
* status: closed => reopened
* resolution: invalid =>
Comment:
I'd like to reopen this one, as I've helped two people with a fix on this
issue in two days.
This issue has been discussed in a few forums, with use cases in each:
http://wordpress.org/support/topic/custom-post-type-singular-page-with-
pagination?replies=5
http://www.wptavern.com/forum/bbpress/1710-bbpress-alternative-
wordpress.html
The main use case is a custom post type that requires pagination on the
single page.
This could be used for a few reasons I could imagine:
1. If you have a static photo gallery post type that has so many photos
you want to split it onto two pages without any javascript
2. A forum that would have tons of threads, which would require pagination
In both of these scenarios developers use the 'redirect_canonical' filter
to turn off canonical redirects on the singular post. However, perhaps we
can build this into core? I could imagine many developers being thrown for
a loop trying to debug this issue, never even tracking it down to
canonical redirects.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15551#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list