Forums

Join
bbPress Support ForumsInstallationIs there a way to disable the time the posts were made?

Info

Is there a way to disable the time the posts were made?

  1. Hello,
    The title explains it. Looks tacky if a post is old and it shows when it was posted.
    Thanks,
    RedBull

  2. UPDATE
    Ok so I took a look at the post.php file and saw where the post time can be deleted in the bottom of topics. But I still can't find where it can be delete right below the Title of the topic.
    Thanks,
    RedBull

  3. <ul class="topicmeta">

  4. <span id="topic_posts"><?php topic_posts_link(); ?></span>
  5. <span id="topic_voices"><?php printf( _n( '%s voice', '%s voices', bb_get_topic_voices() ), bb_get_topic_voices() ); ?></span>
  6. <?php printf(__('Started %1$s ago by %2$s'), get_topic_start_time(), get_topic_author()) ?>
  7. <?php if ( 1 < get_topic_posts() ) : ?>

  8. <?php printf(__('Latest reply from %2$s'), esc_attr( get_topic_last_post_link() ), get_topic_last_poster()) ?>
  9. <?php endif; ?>
    <?php if ( bb_is_user_logged_in() ) : ?>
    <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?>
    <?php endif; do_action('topicmeta'); ?>

    In there just remove one of the li's which contains the date

  • Yes keep it and just don't show it. Better incase you want to do something about your data when you will need post times. :)

  • You must log in to post.