[wp-hackers] Alternate paging URLs
scribu
scribu at gmail.com
Wed Mar 3 23:15:10 UTC 2010
On Thu, Mar 4, 2010 at 1:01 AM, Dave Viner <dave at vinertech.com> wrote:
> Beyond just changing the text of '/page/' to something else, it seems like
> the whole url pagination construction should be pluggable. Something along
> the lines of:
>
> function generate_paginated_part ($page_number)
> {
> // by default, we use '/page/N', but this can be overridden.
> return '/page/' . $page_number;
> }
>
> Or, if not a pluggable function, then at least a filter that passes the
> current string, and the integer page number.
>
> Dave Viner
>
How (and why) would you change the structure of the pagination URL?
Could you provide a use-case?
--
http://scribu.net
More information about the wp-hackers
mailing list