How to display topic freshness attributes under topic title?
im trying to put a function in loop-single-topic.php right after
<?php do_action( ‘bbp_theme_before_topic_started_by’ ); ?>
Replacing the whole (Started By: “user” in “forum” function)
Im trying to make the new function display as (Last Post “freshness time ago” By “User”)
I dont know anything about php and how to use it , right now im basically just looking at each function and see how it works.
The best i got right now is pretty much copy and pasted from the freshness column functions.
This is the best i have
<span class=”bbp-last-post-by-author”><?php printf( __( ‘Last Post %1$s’, ‘bbpress’ ), bbp_get_topic_freshness_link( array() ) ); ?></span>
I still need to display this
<?php bbp_author_link( array( ‘post_id’ =>bbp_get_topic_last_active_id()
but i dont know how to hook it all together, please help.
- You must be logged in to reply to this topic.