[wp-testers] the_date & the_time

Santanu Misra santanu.misra at gmail.com
Fri Sep 16 16:35:25 GMT 2005


well I got in touch with Josh cretaor of travelouge theme where i was having 
the problem
and I found that he has released a ne wversion where he takes care of this 
problem.

-thanks
santanu

On 9/16/05, Owen Winkler <ringmaster at midnightcircus.com> wrote:
> 
> Santanu Misra wrote:
> > Hi,
> >
> > I am wondering why the "the-date" does not return any value for the 
> seond
> > post when I have more than one post for the same date ?
> >
> > I am reffering to the functions found in "wp-includes/template-
> > functions-general.php"
> >
> >
> > Any clue ?
> 
> These functions are oddly named compared to what they do, I think.
> 
> the_date() is supposed to do exactly what you've described - output the
> date only once for each unique day in the post loop.
> 
> the_time() will do better what you want since it outputs for each post.
> Just supply a date-formatting string that shows only the date, and not
> the time.
> 
> Owen
> 
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20050916/ee2b1e7a/attachment.htm


More information about the wp-testers mailing list