Forums
-
- Forum
- Posts
-
- Installation
- 28,529
- Troubleshooting
- 62,964
- Themes
- 10,453
- Plugins
- 15,408
- Requests & Feedback
- 15,048
- Showcase
- 3,252
-
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. 🙁