10 years, 3 months ago
How to customize get_topic_start_time();
i want to display full time (13 June 2011 – 18:50)
not 5 minutes ago.
format > datetime didn’t work.
Try this in your template’s topic.php:
<li><?php printf(__('Started %1$s by %2$s'), bb_datetime_format_i18n(get_topic_start_time(array('format' => 'timestamp'))), get_topic_author()) ?></li>
You can use “timestamp” but then you need to convert it from a Unix timestamp using bb_datetime_format_i18n.
Hope that helps.
i solved it by ….topic_start_time….
maybe get_topic_start_time doesn’t work
Follow bbPress on Twitter •
Contact Us •
Terms of Service