[wp-hackers] Paging by days

Scott Plumlee wp-hackers at plumlee.org
Thu Nov 9 15:30:16 GMT 2006


Peter Westwood wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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

+1 to your solution. But I would still like to see the option to show 
true days, perhaps though not as the default. I know, send code.  :)



More information about the wp-hackers mailing list