Using latest versions of WP and bbPress. I’ve been searching and searching, is there anyone who could help me to shorten the freshness to show only year(s) OR week(s) OR day(s) OR minute(s) instead of the whole time stamp?
I found this https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#10-shorten-freshness-wording but it doesn’t seem to work properly. I don’t know if I’m missing something. I still got “1 hour, 20 minutes” etc. Is the code supposed to do this / is it possible to show only one time variable like this?
50 seconds ago
33 minutes ago
2 hours ago
3 days ago
1 year ago
I would be so happy if someone could help! Thanks!
- You must be logged in to reply to this topic.