Last Post and Time on Single Line – loop-single-forum.php
On the forums index under Last Post I have:
“Title Of the Thread That Was Updated Most Recently”
“17 hours, 11 minutes ago”
I am wanting to put the two on a single line.
eg. “Title of the Thread (7 hours, 11 minutes ago)”
The area of the loop-single-forum file is as follows:
<li class="bbp-forum-freshness"> <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?> <?php bbp_forum_freshness_link(); ?> <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?> <p class="bbp-topic-meta"> <?php do_action( 'bbp_theme_before_topic_author' ); ?> <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span> <?php do_action( 'bbp_theme_after_topic_author' ); ?> </p> </li>
I’ve tried editing this quite a bit but all attempts have failed. Any tips or feedback on how I can display the Thread Title (time posted) on a single line would be greatly appreciated.
- You must be logged in to reply to this topic.