I've been scouring the whole code for bbPress and still couldn't figure out how to set up the format just how I want it for Date and Time (for the post).
Can anyone tell me where to go for such edits?
Much thanks.
I've been scouring the whole code for bbPress and still couldn't figure out how to set up the format just how I want it for Date and Time (for the post).
Can anyone tell me where to go for such edits?
Much thanks.
Here's how I do it in my private messages plugin
strftime("%m/%d/%y at %r",strtotime($timevar)+($bb->gmt_offset * 60 * 60))
Where $timevar is the time that I passed to the function.
BTW, that displays something like this:
01/05/07 at 10:21:21
Ands how does one change the time from
2007-01-16 18:23:58
to
January 16, 2007
So no time, only date. I have added <?php topic_time(); ?> to my frontpage and it shows: 2007-01-16 18:23:58, but on the fronpage (only there) I want to show it like: January 16, 2007
Thx
In bbPress 0.8, you just pass the function the date format you want:
http://bbpress.org/blog/2007/02/bbpress-time-functions-no-longer-insane/#63-templates
You must log in to post.