How to add a 'hot' label to bbpress topics
If you want to add a "hot" label to WordPress bbPress topics whose view count is equal or greater than 30, you can add the following code to "loop-single-topic.php." <?php $now = date("Y-m-d"); /* Today date */ $last_active ...