Since version 2 of bbPress was released some users haven’t been happy with their options for a “Recent Replies” widget. Shortcode below as written to provide flexibility.
It allows for a parameter to determine the number of replies shown (defaults to 5). That parameter is “show”, and is used in the shortcode like so:
The shortcode gathers the 5 most recent replied-to topics, and their most recent replies. Then, while looping through the replies, it calls the 2nd function to output a row of data. You should only edit the “custom_bbpress_recent_reply_row_template()” function to change the HTML.