Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Last reply author’s name in loop-single-topic?

@robin-w

Moderator

ok, they’ve done it by a function by the look of it.

so try this

add_action ('bbp_theme_before_topic_started_by' , 'rew_reply_author' , 10 ) ;

function rew_reply_author () {
	$reply_id = bbp_get_topic_last_reply_id () ;
	echo '<span class="bbp-reply-author">'.bbp_get_reply_author_link( array( 'post_id' => $reply_id, 'type' => 'both', 'size' => 14 ) ) ;
}

Put this in your child theme’s function file – or use

Code Snippets

then come back and let me know where this appears, we might need to adjust

Skip to toolbar