Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Display Topic Starter label around topic authors avatar in topic replies

@robertherold

Participant

Hi @robin-w,

//This function adds the author to the reply
function bbp_author_display () {
	if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) {
	echo '<span class="topic-author">' ;
	echo '<ul><li>' ;
	echo 'Topic Author' ; 
	echo '</li></ul></span>' ;
	}
	else return ;
	}
	
	add_action ('bbp_theme_after_reply_author_details', 'bbp_author_display') ;

This is a very good code, however, when searching, it puts it on each result. 🙁

Skip to toolbar