Forums
-
- Forum
- Posts
-
- Installation
- 28,095
- Troubleshooting
- 61,375
- Themes
- 10,273
- Plugins
- 15,121
- Requests & Feedback
- 14,751
- Showcase
- 3,251
-
Apparently topic_time
is timezone-shifted, so the previous code is wrong told you it was rough! This will take the time from the opening time
<?php if ( (current_time('timestamp') - 24*60*60) < strtotime($topic->topic_start_time) ) : ?>*NEW* <?php endif; ?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS