[wp-hackers] Alternate paging URLs

Dan Phiffer dan at phiffer.org
Thu Mar 11 19:15:05 UTC 2010

Hi all,

I managed to implement what I wanted without having to make any changes to core:


It depends on the "posts_request" filter to augment the query SQL and "the_posts" to determine the newer/older times.

Thanks for all the helpful suggestions.


On Mar 4, 2010, at 12:58 AM, Mike Schinkel wrote:

> On Mar 3, 2010, at 6:15 PM, scribu wrote:
>> How (and why) would you change the structure of the pagination URL?
>> Could you provide a use-case?
> Another use case would be to allow loading via AJAX.  So instead of /foo/page/2/ it could be:
> /foo/#page2 or 
> /foo/#101-120 or 
> /foo/101-120/ (non-AJAX but post ids) 
> It wouldn't be built into core but a plugin should be able to do if it wanted to.
> -Mike
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list