[wp-hackers] Paging by days

Peter Westwood peter.westwood at ftwr.co.uk
Wed Nov 8 21:19:17 GMT 2006

Hash: SHA1

Scott Plumlee wrote:
> Ryan Boren wrote:
>> Does anyone here page by number of days rather than number of posts?
>> The day paging query is funky and fragile. Removing it would be nice.
>> No one can agree on how paging by days should behave anyhow, so
>> removing it would end that dilemma. :-)
> The times I've tried using it (if we are speaking of Show At Most.... on
> the Reading subpanel), I didn't like how non-intuitive it seemed to be
> (the days only count if there was a post on a day, if
> http://codex.wordpress.org/Reading_Options_SubPanel is still correct).

Yes the codex is correct.

> If you end up keeping it, I'd rather just see the posts from the last X
> days, regardless of whether or not there were posts on some of those days.
> I realize you are potentially setting up a condition where you might not
>  show ANYTHING, if the person had not posted within those X days, but I
> think it would simpler to see that and understand why it happened rather
> than how it works currently (again, assuming the Codex is still correct
> in this regard).

That is not a way for the core to function - just think of the number of
support forum posts - "My blog shows no posts on the front page"...

For me, if it is to stay I would like to see the change I suggested [1]
committed so that the option is explicit in it's behaviour.

I would be happy though to see it go - as long as the relavent hooks
exists to replicate it's behaviour with a simple plugin.

[1] http://trac.wordpress.org/ticket/739

- --
Peter Westwood
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the wp-hackers mailing list