Created
August 9, 2022 12:17
-
-
Save contemplate/562a37048ef0f83de22cc781eb1be115 to your computer and use it in GitHub Desktop.
BUDDYBOSS ELEMENTOR FORUMS WIDGET AVATAR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$get_last_reply_id = bbp_get_topic_last_reply_id( bbp_get_topic_id() ); | |
echo bbp_get_author_link( array( 'post_id' => $get_last_reply_id,'size' => '180' ) ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUDDYBOSS ELEMENTOR FORUMS WIDGET AVATAR HACK:
/buddyboss-theme/inc/plugins/elementor/widgets/bb-forums.php
Switch Avatar to latest commentor.
Replace this code around line 543 with the above code:
<?php echo bbp_get_topic_author_link( array( 'size' => '180' ) ); ?>